a=input()
if "0"<=a<="9":
    mg="number"
if "a"<=mg<="z" or "A"<=mg<="Z":
    mg="character"
else:
    mg="other"
print(mg)