#include <bits/stdc++.h>
using namespace std;
int main() {
  long long x, y;
  cin >> x >> y;
  long long d = x * x + y * y;
  if (x == 0 || y == 0) {
    cout << "black" << endl;
    return 0;
  }
  for (long long i = 1; i <= 10000; i++) {
    if (d < i * i) {
      bool white = (i % 2 == 0 && x * y > 0) || (i % 2 == 1 && x * y < 0);
      cout << (white ? "white" : "black") << endl;
      return 0;
    }
    if (d == i * i) {
      cout << "black" << endl;
      return 0;
    }
  }
  return 0;
}
