#include <bits/stdc++.h>
using namespace std;
int a, b, d;
bool ans;
double c;
int main() {
  scanf("%d%d", &a, &b);
  if (a == 0 || b == 0) {
    printf("black\n");
    return 0;
  }
  c = sqrt(a * a + b * b);
  ans = 0;
  d = (int)(c);
  ans = d % 2;
  if (a * b < 0) ans ^= 1;
  if (c == (double)(d)) ans = 0;
  if (ans == 0)
    printf("black\n");
  else
    printf("white\n");
  return 0;
}
