#include <bits/stdc++.h>
int main() {
  int x, y, re;
  int dis;
  scanf("%d%d", &x, &y);
  dis = x * x + y * y;
  for (re = 0; re * re < dis; re++)
    ;
  if (re * re == dis)
    printf("black\n");
  else {
    if (x * y > 0) {
      if (re % 2 == 1)
        printf("black\n");
      else
        printf("white\n");
    } else if (x * y < 0) {
      if (re % 2 == 1)
        printf("white\n");
      else
        printf("black\n");
    }
  }
  return 0;
}
