#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  while (scanf("%d%d", &x, &y) >= 1) {
    int d = x * x + y * y;
    int c = 0;
    for (c = 0; c * c < d; c++)
      ;
    if (c * c == d || !x || !y) {
      printf("black\n");
      goto end;
    }
    c &= 1;
    if ((x > 0) != (y > 0)) c = !c;
    printf(c ? "black\n" : "white\n");
  end:;
    break;
  }
  return 0;
}
