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