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