#include <bits/stdc++.h>
using namespace std;
const int oo = (int)1e9;
const double PI = 2 * acos(0);
const double eps = 1e-7;
inline int comp(const double &a, const double &b) {
  if (fabs(a - b) < eps) return 0;
  return a > b ? 1 : -1;
}
int di[] = {1, -1, 0, 0, 1, -1, 1, -1};
int dj[] = {0, 0, 1, -1, 1, -1, -1, 1};
int diK[] = {-2, -2, -1, 1, 2, 2, 1, -1};
int djK[] = {-1, 1, 2, 2, 1, -1, -2, -2};
int I, J;
inline bool val(const int &i, const int &j) {
  if (i < 0 || j < 0 || i >= I || j >= J) return false;
  return true;
}
int N;
int n;
int main() {
  int x, y;
  cin >> x >> y;
  int d = x * x + y * y;
  int s = (int)(sqrt(d) + eps);
  if (x == 0 || y == 0 || s * s == d)
    cout << "black" << endl;
  else {
    if ((x < 0 && y < 0) || (x > 0 && y > 0)) {
      if (s % 2)
        cout << "white" << endl;
      else
        cout << "black" << endl;
    } else {
      if (s % 2 == 0)
        cout << "white" << endl;
      else
        cout << "black" << endl;
    }
  }
  return 0;
}
