a = int(input()) b = int(input())*3.6 if a>b: print("KoD") elif b>a: print("blackyuki") else: print("same")