#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const int N = 2e5 + 100;
const int mod = 1e9 + 7;
int main() {
  double x, y, dis;
  int r;
  while (cin >> x >> y) {
    dis = sqrt(x * x + y * y);
    r = static_cast<int>(dis);
    if (dis == r || x * y == 0) {
      cout << "black" << endl;
      continue;
    }
    if (x * y > 0) {
      while (dis > 2) dis -= 2;
      if (dis > 0 && dis < 1) {
        cout << "black" << endl;
      } else if (dis > 1 && dis < 2)
        cout << "white" << endl;
    } else {
      while (dis > 2) dis -= 2;
      if (dis > 0 && dis < 1) {
        cout << "white" << endl;
      } else if (dis > 1 && dis < 2)
        cout << "black" << endl;
    }
  }
}
