#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int x, y;
  scanf("%d %d", &x, &y);
  if (x == 0 || y == 0) {
    printf("black\n");
    return 0;
  }
  int r = x * x + y * y;
  int cur = 0;
  while (1) {
    if (r >= cur * cur && r < (cur + 1) * (cur + 1)) break;
    cur++;
  }
  bool isBlack = false;
  if (r > cur * cur) {
    if ((x > 0 && y > 0) || (x < 0 && y < 0)) {
      if (cur % 2 == 0) isBlack = true;
    } else {
      if (cur % 2) isBlack = true;
    }
  } else
    isBlack = true;
  if (isBlack)
    printf("black\n");
  else
    printf("white\n");
  return 0;
}
