#include <bits/stdc++.h>
using namespace std;
int x, y, c;
int main() {
  scanf("%d%d", &x, &y);
  c = (int)(sqrt(x * x + y * y) + 1e-10);
  if (c * c == x * x + y * y)
    printf("black\n");
  else if (x * y > 0)
    printf("%s\n", (c & 1) ? "white" : "black");
  else
    printf("%s\n", (c & 1) ? "black" : "white");
  return 0;
}
