#include <bits/stdc++.h>
using namespace std;
int n;
int x, y;
double z;
int main() {
  int i, j;
  int tag;
  int t;
  while (scanf("%d %d", &x, &y) != EOF) {
    z = sqrt(x * x + y * y);
    t = (int)z;
    if (t == z) {
      puts("black");
      continue;
    }
    if (x * y >= 0)
      tag = 1;
    else
      tag = 0;
    if (tag ^ (t % 2))
      puts("black");
    else
      puts("white");
  }
}
