#include <bits/stdc++.h>
using namespace std;
void loadData(void);
string proc(void);
void printRes(string);
int x, y;
bool lyb_debug = false;
double myAbs(double x);
int main(int argc, char** argv) {
  loadData();
  printRes(proc());
  return 0;
}
string proc(void) {
  if (x == 0 || y == 0) return "black";
  double floor_d = floor(sqrt((double)(x * x + y * y)));
  if (lyb_debug) {
    printf("delta:%lf\n", floor_d - sqrt((double)(x * x + y * y)));
  }
  if (myAbs(floor_d - sqrt((double)(x * x + y * y))) < 0.00001) return "black";
  if (lyb_debug) {
    printf("floor_d:%lf\n", floor_d);
  }
  int floor_d_int = (int)floor_d;
  if (lyb_debug) {
    printf("floor_d_int:%d\n", floor_d_int);
  }
  if ((x > 0 && y > 0) || (x < 0 && y < 0)) {
    if (lyb_debug) {
      printf("floor_d_int mod 2:%d\n", floor_d_int % 2);
    }
    if (floor_d_int % 2 == 1)
      return "white";
    else
      return "black";
  } else {
    if (lyb_debug) {
      printf("floor_d_int mod 2:%d\n", floor_d_int % 2);
    }
    if (floor_d_int % 2 == 1)
      return "black";
    else
      return "white";
  }
  return "";
}
double myAbs(double x) { return x >= 0 ? x : -x; }
void loadData(void) {
  scanf("%d%d", &x, &y);
  return;
}
void printRes(string res) {
  printf("%s\n", res.c_str());
  return;
}
