#include <bits/stdc++.h>
using namespace std;
struct Point {
  int x;
  int y;
  Point(int x_, int y_) : x(x_), y(y_) {}
};
template <class T>
T sqr(const T& t) {
  return t * t;
}
template <class T>
T abs(const T& t) {
  return ((t > 0) ? (t) : (-t));
}
void initialize() {
  freopen("_.in", "r", stdin);
  freopen("_.out", "w", stdout);
}
bool isSqr(int x) {
  int a = static_cast<int>(sqrt(static_cast<double>(x)));
  return (a * a == x);
}
int sqrt(int x) { return static_cast<int>(sqrt(static_cast<double>(x))); }
int sign(int x) {
  if (x < 0) return 0;
  return 1;
}
int main() {
  int x, y;
  cin >> x >> y;
  int r = x * x + y * y;
  bool ok = true;
  int b = sqrt(r);
  int val = 2 + sign(x * y) + sqrt(r);
  if (isSqr(r) || (sign(x * y) + sqrt(r)) % 2 == 1) {
    cout << "black";
  } else {
    cout << "white";
  }
  return 0;
}
