#include <bits/stdc++.h>
using namespace std;
int a, b;
float n;
int main() {
  cin >> a >> b;
  n = sqrt(a * a + b * b);
  if (ceil(n) <= n) {
    cout << "black";
    return 0;
  }
  int y = (int)(ceil(n));
  if (a * b > 0 == (y & 1))
    cout << "black";
  else
    cout << "white";
  return 0;
}
