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)