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