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