#include <bits/stdc++.h>
using namespace std;
int main() {
  string A[] = {"white", "black"};
  int a, b;
  cin >> a >> b;
  float r = sqrt(a * a + b * b);
  if (r == (int)r)
    cout << A[1];
  else
    cout << A[(a * b) < 0 ? ((int)r % 2) : !((int)r % 2)];
}
