#include <bits/stdc++.h>
const double eps = 1e-8;
int main() {
  int x, y;
  while (scanf("%d%d", &x, &y) != EOF) {
    if (x == 0 || y == 0) {
      puts("black");
      continue;
    }
    double dis = sqrt(x * x + y * y);
    int dd = (int)(dis + eps);
    if (dd * dd != x * x + y * y)
      dd++;
    else {
      puts("black");
      continue;
    }
    if (dd & 1) {
      if (x * y > 0)
        puts("black");
      else
        puts("white");
    } else {
      if (x * y > 0)
        puts("white");
      else
        puts("black");
    }
  }
  return 0;
}
