#include <bits/stdc++.h>
using namespace std;
void solve() {
  float x, y;
  cin >> x >> y;
  double dis = sqrt(x * x + y * y);
  if ((x > 0 && y > 0) || (x < 0 && y < 0)) {
    long long a = floor(dis);
    if (a == dis) {
      cout << "black";
      return;
    }
    if (a % 2)
      cout << "white";
    else
      cout << "black";
  } else {
    long long a = floor(dis);
    if (a == dis) {
      cout << "black";
      return;
    }
    if (a % 2 == 0)
      cout << "white";
    else
      cout << "black";
  }
  return;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
