#include <bits/stdc++.h>
using namespace std;
template <class T>
T abs(T x) {
  return x > 0 ? x : -x;
}
int n;
int m;
int main() {
  scanf("%d%d", &n, &m);
  if (n == 0 || m == 0)
    cout << "black" << endl;
  else {
    int i = 0;
    while (i * i < n * n + m * m) i++;
    if (i * i == n * n + m * m)
      cout << "black" << endl;
    else {
      if (i & 1) {
        if (n * m > 0)
          cout << "black" << endl;
        else
          cout << "white" << endl;
      } else {
        if (n * m < 0)
          cout << "black" << endl;
        else
          cout << "white" << endl;
      }
    }
  }
  return 0;
}
