#include <bits/stdc++.h>
int main() {
  int x, y;
  scanf("%d%d", &x, &y);
  double r = sqrt(x * x + y * y);
  int rmin = r;
  if ((double)rmin == r) {
    printf("black");
    return 0;
  }
  if (x == 0 || y == 0) {
    printf("black");
    return 0;
  }
  double tan = (double)y / (double)x;
  if (rmin % 2 == 1 && tan > 0)
    printf("white");
  else if (rmin % 2 == 1 && tan < 0)
    printf("black");
  else if (rmin % 2 == 0 && tan > 0)
    printf("black");
  else if (rmin % 2 == 0 && tan < 0)
    printf("white");
  return 0;
}
