#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  cin >> x >> y;
  float r = pow(x * x + y * y, 0.5);
  int rr = r;
  if (x * y >= 0) {
    if (rr == r) {
      cout << "black";
      return 0;
    }
    if (rr & 1) {
      cout << "white";
      return 0;
    } else {
      cout << "black";
      return 0;
    }
  } else {
    if (rr == r) {
      cout << "black";
      return 0;
    }
    if (rr & 1) {
      cout << "black";
      return 0;
    } else {
      cout << "white";
      return 0;
    }
  }
}
