import reduce def solve(): import sys s = sys.stdin.read().strip() if not (1 <= len(s) <= 32): print(400) return if not re.fullmatch(r'[A-Za-z0-9_-]+', s): print(400) return if s[0] in '_-' or s[-1] in '_-': print(400) return print(200) sovle()