#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  int x, y;
  cin >> x >> y;
  double sq = sqrt(x * x + y * y);
  if (sq - (int)sq <= 1e-6)
    cout << "black";
  else
    cout << ((int)ceil(sq) % 2 == (x >= 0 && y >= 0 || x <= 0 && y <= 0)
                 ? "black"
                 : "white");
  return 0;
}
