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