#include using namespace std; int main() { int k; char s; cin >> s >> k; if ((s + k) % 2 == 0) cout << "CHERNOE" << endl; else cout << "BELOE" << endl; return 0; }