#include <bits/stdc++.h>
using namespace std;
void input() {}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  input();
  long long int x, y, d;
  cin >> x >> y;
  d = x * x + y * y;
  d = ceil(sqrt(d));
  if (x == 0 || y == 0 ||
      (long long int)d == (long long int)((sqrt(x * x + y * y)))) {
    cout << "black\n";
    return 0;
  }
  if (x * y > 0) {
    if (d % 2 == 0) {
      cout << "white\n";
    } else
      cout << "black\n";
  } else {
    if (d % 2) {
      cout << "white\n";
    } else
      cout << "black\n";
  }
}
