#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
using namespace std;
template <class _T>
inline string tostr(const _T& a) {
  ostringstream os("");
  os << a;
  return os.str();
}
const long double PI = 3.1415926535897932384626433832795;
const long double EPS = 1e-9;
int x, y;
long double dist(long double x, long double y) { return sqrt(x * x + y * y); }
int main() {
  cout.flags(ios::fixed);
  cout.precision(2);
  cin >> x >> y;
  long double r = dist(x, y);
  int p = r + 1e-8;
  long double z = p;
  if (fabs(z - r) < 1e-7) {
    cout << "black";
    return 0;
  }
  int inv = 0;
  if (x > 0 && y > 0 || x < 0 && y < 0)
    inv = 0;
  else
    inv = 1;
  if (p % 2) {
    if (!inv)
      cout << "white";
    else
      cout << "black";
  } else {
    if (inv)
      cout << "white";
    else
      cout << "black";
  }
  return 0;
}
