while 1:
try:
chr = input()
if 'a'<= chr.lower() <='z':
print('{} is an alphabet.'.format(chr))
else:
print('{} is not an alphabet.'.format(chr))
except:
break
while True:
try:
n = str(input())
if((n>='A' and n<='Z')or(n>='a' and n<='z')):
print("%c is an alphabet."%n)
else:
print("%c is not an alphabet."%n)
except:
break