#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int x, y;
  cin >> x >> y;
  int g = (x * x) + (y * y);
  vector<int> v;
  for (int i = 0; i < 1500; i++) v.push_back(i * i);
  if (x * y >= 0) {
    if (find(v.begin(), v.end(), g) != v.end())
      cout << "black" << endl;
    else {
      for (int i = 0; i < 1499; i++) {
        if (g > v[i] && g < v[i + 1]) {
          if (i & 1)
            cout << "white" << endl;
          else
            cout << "black" << endl;
          return 0;
        }
      }
    }
  } else {
    if (find(v.begin(), v.end(), g) != v.end())
      cout << "black" << endl;
    else {
      for (int i = 0; i < 1499; i++) {
        if (g > v[i] && g < v[i + 1]) {
          if (i & 1)
            cout << "black" << endl;
          else
            cout << "white" << endl;
          return 0;
        }
      }
    }
  }
}
