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