""" やるよ~~~ めんどくさい """ s = input() if not (1 <= len(s) <= 32): exit(print(400)) for x in s: if not ("A" <= x <= "Z" or "a" <= x <= "z" or "0" <= x <= "9" or x == "_" or x == "-"): exit(print(400)) if s[0] == "_" or s[0] == "-" or s[-1] == "_" or s[-1] == "-": exit(print(400)) print(200)