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