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