import re S = input() if re.match(r'^[A-Za-z0-9_-]{1,32}$', S) and re.match(r'^_*|-_*$', S): print(200) else: print(400)