import re s = input() ans = len(s) <= 32 and re.fullmatch(r'[A-Za-z0-9_-]*', s) and s[0] not in '_-' and s[-1] not in '_-' print(200 if ans else 400)