#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  int x, y;
  cin >> x >> y;
  double z = sqrt(x * x * 1.0 + y * y * 1.0);
  int k = (int)z;
  if (z == k) {
    cout << "black\n";
  } else if (x > 0 && y > 0 || x < 0 && y < 0) {
    if (k % 2 == 1)
      cout << "white\n";
    else
      cout << "black\n";
  } else if (k % 2 == 1)
    cout << "black\n";
  else
    cout << "white\n";
  return 0;
}
