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