#include <bits/stdc++.h>
using namespace std;
const double EPS = 1e-6;
double dist(double x, double y) { return pow(x * x + y * y, 0.5); }
int main() {
  double x, y;
  while (2 == scanf("%lf%lf", &x, &y)) {
    if (x == 0 && y == 0) {
      printf("black\n");
      continue;
    }
    double r = dist(x, y);
    if (r - floor(r) < EPS) {
      printf("black\n");
      continue;
    }
    int v = (int)floor(r);
    if (x * y > 0) {
      if (v % 2 == 0)
        printf("black\n");
      else
        printf("white\n");
    } else {
      if (v % 2 == 0)
        printf("white\n");
      else
        printf("black\n");
    }
  }
  return 0;
}
