#include <bits/stdc++.h>
using namespace std;
int main() {
  double x, y;
  cin >> x >> y;
  double rasst = sqrt(x * x + y * y);
  double i, j;
  bool flag = false;
  if ((x <= 0.000001 && y <= 0.000001) || (x >= -0.000001 && y >= -0.000001)) {
    for (i = 0; i <= rasst + 0.00001; i += 2) {
      j = i + 1;
      if (rasst >= i - 0.000001 && rasst <= j + 0.000001) flag = true;
    }
    if (flag)
      cout << "black";
    else
      cout << "white";
  } else {
    for (i = 1; i <= rasst + 0.000001; i += 2) {
      j = i + 1;
      if (rasst >= i - 0.000001 && rasst <= j + 0.000001) flag = true;
    }
    if (flag)
      cout << "black";
    else
      cout << "white";
  }
  cout << endl;
  return 0;
}
