import sys readline=sys.stdin.readline write=sys.stdout.write A,B=map(int,readline().split()) if A*1000>B*3600: ans="KoD" elif A*1000