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