#include <bits/stdc++.h>
using namespace std;
int main() {
  long double x, y;
  cin >> x >> y;
  long double d = sqrt(x * x + y * y);
  long long p = d;
  if ((x >= 0 && y >= 0) || (x < 0 && y < 0)) {
    if (p == d)
      cout << "black";
    else {
      if (p % 2 == 0)
        cout << "black";
      else
        cout << "white";
    }
  } else {
    if (p == d)
      cout << "black";
    else {
      if (p % 2 == 0)
        cout << "white";
      else
        cout << "black";
    }
  }
  return 0;
}
