code = raw_input()
if ("i" in code) or ("I" in code) or ("?" in code):
print "Your program contains an 'i', 'I', or '?'. Please remove it and try again."
else
print "OK"