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