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 "0"<=s<="9" or s=="_" or s=="-"):exit(print(400)) print(200)