S=input() flag = True if len(S) >= 33: flag = False else: for i in S: if not 33<=ord(i)<=126: flag = False if flag: print(200) else: print(400)