import sys input = lambda: sys.stdin.readline().rstrip() ii = lambda: int(input()) mi = lambda: map(int, input().split()) li = lambda: list(mi()) inf = 2 ** 63 - 1 mod = 998244353 a, b = mi() print('KoD' if a * 1000 > b * 3600 else 'blackyuki' if a * 1000 < b * 3600 else 'same')