import re S = input() if ( 1 <= len(S) <= 32 and re.fullmatch(r"[A-Za-z0-9_-]+", S) and S[0] not in "_-" and S[-1] not in "_-" ): print(200) else: print(400)