import re S = input() def check(s): if len(s) > 32: return False if len(s) < 1: return False if s.startswith("_"): return False if s.startswith("-"): return False if s.endswith("_"): return False if s.endswith("-"): return False if re.match("^[-_a-zA-Z0-9]+$", s) is None: return False return True print(200 if check(S) else 400)