#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cin >> a >> b;
  int d = pow(1.0 * (a * a + b * b), 0.5);
  if (d * d == (a * a + b * b)) {
    cout << "black\n";
    return 0;
  }
  if (a * b == 0) {
    cout << "black\n";
    return 0;
  }
  d++;
  if (a * b < 0) d++;
  if (d % 2 == 0)
    cout << "white\n";
  else
    cout << "black\n";
  return 0;
}
