while 1:
try:
n = int(input())
if n == 200:
print("OK")
elif n == 202:
print("Accepted")
elif n == 400:
print("Bad Request")
elif n == 403:
print("Forbidden")
elif n == 404:
print("Not Found")
elif n == 500:
print("Internal Server Error")
elif n == 502:
print("Bad Gateway")
except:
break