#include using namespace std; int main() { int64_t a, b; cin >> a >> b; if(a * 1000 > b * 3600) cout << "KoD" << endl; else if(a * 1000 == b * 3600) cout << "same" << endl; else cout << "blackyuki" << endl; return 0; }