S = input() ok = 1 if len(S) > 32: ok = 0 for c in S: ok &= (c.isalnum() or c in "_-") if S[0] in "_-" or S[-1] in "_-": ok = 0 print([400, 200][ok])