S=input() if not(1<=len(S)<=32):exit(print(400)) if S[0]=="_" or S[0]=="-":exit(print(400)) for s in S: if not ("A"<=s<="Z" or "a"<=s<="z" or s=="-" or s=="_"):exit(print(400)) print(200)