#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  scanf("%d%d", &x, &y);
  int l = x * x + y * y, r;
  for (r = 1; r * r < l; r++)
    ;
  if (r * r == l) return puts("black");
  puts((r & 1) ^ (x * y < 0) ? "black" : "white");
}
