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