#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y, flag, r;
  cin >> x >> y;
  if (x * y > 0)
    flag = 0;
  else
    flag = 1;
  r = (int)(sqrt(1. * x * x + 1. * y * y) + 0.000000001);
  flag += r % 2;
  if (flag % 2 == 0 || r * r == x * x + y * y)
    cout << "black" << endl;
  else
    cout << "white" << endl;
  return 0;
}
