A,B=map(float,input().split()) if (A*1000)/3600B: print("KoD") else: print("same")