#include <bits/stdc++.h>
using namespace std;
const long long inf = 1e18 + 9;
const long long mod = 1e9 + 7;
const long long maxn = 2e3 + 8;
long long n, x, y;
void solve() {
  long long i, j, tot = 0, sum = 0;
  cin >> x >> y;
  long long dis = (long long)sqrt((double)x * x + (double)y * y);
  if (x * x + y * y == dis * dis) return (void)(cout << "black" << endl);
  if (x * y > 0) {
    if (dis & 1)
      cout << "white" << endl;
    else
      cout << "black" << endl;
  } else {
    if (dis & 1)
      cout << "black" << endl;
    else
      cout << "white" << endl;
  }
}
signed main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  long long t = 1;
  while (t--) solve();
  return 0;
}
