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