#include <bits/stdc++.h>
using namespace std;
int main() {
  long double a, b;
  cin >> a >> b;
  long double d = sqrt((a * a) + (b * b));
  int i = (int)(d);
  long double X = i;
  if (a == 0 || b == 0 || d == X)
    cout << "black" << endl;
  else if (a >= 0 && b >= 0 || a <= 0 && b <= 0) {
    if (i % 2 == 0)
      cout << "black" << endl;
    else
      cout << "white" << endl;
  } else {
    if (i % 2 == 0)
      cout << "white" << endl;
    else
      cout << "black" << endl;
  }
  return 0;
}
