ALLOWED = set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-") s = str(input("")) try: if not (1 <= len(s) <= 32): raise ValueError if not all(c in ALLOWED for c in s): raise ValueError if s[0] in "_-" or s[-1] in "_-": raise ValueError print("200") except Exception as e: print("400")