#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  cin >> x >> y;
  float rad = (float)sqrt(x * x + y * y);
  if (rad == (int)rad * 1.0) {
    cout << "black\n";
    return 0;
  }
  if (x * y > 0) {
    if ((int)rad % 2 == 0)
      cout << "black\n";
    else
      cout << "white\n";
  } else {
    if ((int)rad % 2 == 0)
      cout << "white\n";
    else
      cout << "black\n";
  }
  return 0;
}
