#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e4 + 5;
const int INF = 0x3f3f3f3f;
const double Pi = acos(-1.0);
const long long MOD = 1e9 + 7;
int main() {
  int x, y;
  scanf("%d %d", &x, &y);
  int p = x * x + y * y;
  int q = sqrt(p);
  if (q * q == p || x == 0 || y == 0)
    printf("black\n");
  else {
    if (x * y > 0) {
      if (q & 1)
        printf("white\n");
      else
        printf("black\n");
    } else {
      if (q & 1)
        printf("black\n");
      else
        printf("white\n");
    }
  }
  return 0;
}
