str=input()
print(str.isalpha(), str.isdigit(), str.isspace(), sep='\n')