import re traqid = input() if( re.fullmatch(r'^[a-zA-Z0-9-_]{1,32}$', traqid) != None and traqid[0] != '-' and traqid[0] != '_' and traqid[len(traqid) - 1] != '-' and traqid[len(traqid) - 1] != '_' ): print(200) else: print(400)