#include <bits/stdc++.h>
using namespace std;
int main() {
  float x, y;
  cin >> x >> y;
  if ((x == 0) || (y == 0))
    cout << "black\n";
  else {
    float d = sqrt(x * x + y * y);
    int k = (int)d;
    if (k == d)
      cout << "black\n";
    else {
      int col = ((x * y > 0) == (k % 2 == 0));
      if (col == 1)
        cout << "black\n";
      else
        cout << "white\n";
    }
  }
  return 0;
}
