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