#include <bits/stdc++.h>
using namespace std;
int x, y, r, dis;
int main() {
  cin >> x >> y;
  if (x == 0 || y == 0)
    cout << "black" << endl;
  else {
    dis = x * x + y * y;
    for (r = 2000; r > 0; r--)
      if (r * r <= dis) break;
    if (r * r == dis)
      cout << "black" << endl;
    else if ((x > 0 && y > 0) || (x < 0 && y < 0))
      if (r % 2 == 0)
        cout << "black" << endl;
      else
        cout << "white" << endl;
    else if (r % 2 == 0)
      cout << "white" << endl;
    else
      cout << "black" << endl;
  }
  return 0;
}
