#include "testlib.h"
#include <bits/stdc++.h>

using namespace std;

int main(int argc, char* argv[]){
  registerValidation(argc, argv);

  long long a=inf.readLong(1ll,1000000000ll);inf.readSpace();
  long long b=inf.readLong(1ll,1000000000ll);inf.readEoln();
  inf.readEoln();
  b*=3600;
  a*=1000;
  if(a>b){cout << "KoD\n";}
  else if(a<b){cout << "blackyuki\n";}
  else{cout << "same\n";}
  return 0;
}