s = input() cond0 = len(s) >= 1 and len(s) <= 32 cond1 = all(c.isalnum() or c in ['_', '-'] for c in s) cond2 = not (s[0] in ['_', '-']) and not (s[-1] in ['_', '-']) if cond0 and cond1 and cond2: print("200") else: print("400")