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