a, b = [int(it) for it in input().split()] # 1時間で何m歩くか? kod = a * 10**3 blackyuki = b * 60**2 ans = "same" if kod > blackyuki: ans = "KoD" elif kod < blackyuki: ans = "blackyuki" print(ans)