KoD = int(input()) blackyuki = int(input()) blackyuki = blackyuki*3600 if KoD >> blackyuki: print("KoD") elif KoD << blackyuki: print("blackyuki") else: print("same")