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