import re, sys input = sys.stdin.readline S = input().strip() 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)