def Main(): a,b=map(int,input().split()) a*=10 b*=36 if a==b: print("same") elif a>b: print("KoD") else: print("blackyuki") Main()