a,b = map(int, input().split()) a = a * 1000 b = b * 3600 if a > b: print("KoD") elif b > a: print("blackyuki") else: print("same")