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