#include <bits/stdc++.h>
using namespace std;
bool Equal(double a, double b) {
  if (a - 1e-12 < b && b < a + 1e-12)
    return true;
  else
    return false;
}
int main() {
  int x, y;
  cin >> x >> y;
  int r2 = x * x + y * y;
  double r = sqrt(r2);
  bool black = true;
  if ((int)(r + 1e-12) * (int)(r + 1e-12) == r2 || x == 0 || y == 0) {
    black = true;
  } else {
    int rin = r;
    if (rin % 2 == 0)
      black = true;
    else
      black = false;
    if (x * y < 0) black = !black;
  }
  if (black)
    cout << "black" << endl;
  else
    cout << "white" << endl;
  return 0;
}
