import sys def solve(): s = sys.stdin.read().strip() if not (1 <= len(s) <= 32): print(400) return allowed_chars ="abcdefghijklomnpyqrstyuvwxzABCDEFGHIJKLOMNPQERSTUVWXNZ0123456789_-" for char in s: if char not in allowed_chars: print(400) return if s[0] in "_-" or s[-1] in "-_": return print(200) solve()