#include <bits/stdc++.h>
using namespace std;
int main() {
  double x, y;
  while (cin >> x >> y) {
    double l;
    l = sqrt(x * x + y * y);
    if (l == (int)l) {
      cout << "black" << endl;
      continue;
    }
    int z = (int)l;
    if (z != l) z++;
    if (x * y >= 0) {
      if (z % 2)
        cout << "black" << endl;
      else
        cout << "white" << endl;
    } else {
      if (z % 2 == 0)
        cout << "black" << endl;
      else
        cout << "white" << endl;
    }
  }
}
