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