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