#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, mal, sign;
  cin >> a >> b;
  double s;
  s = sqrt(a * a + b * b);
  mal = s;
  if (s == mal) {
    cout << "black";
    return 0;
  }
  sign = a * b;
  if (sign > 0) {
    if (mal % 2 == 0)
      cout << "black";
    else
      cout << "white";
  } else if (sign < 0) {
    if (mal % 2 == 1)
      cout << "black";
    else
      cout << "white";
  } else
    cout << "black";
}
