A,B = list(map(int,input().split())) print("KoD" if A*1000 > B*3600 else "blackyuki" if A*1000 < B*3600 else "same")