import re S = input() if re.match(r'^[A-Za-z0-9_-]{1,32}$', S): if not (S[0] == '-' or S[0] == '_' or S[-1] == '-' or S[-1] == '_'): print(200) else: print(400) else: print(400)