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