236A

C++ implementation © 2026 Pedro Luis D.

View on Codeforces Logo
236A.cpp
// https://codeforces.com/problemset/problem/236/A
#include 
using namespace std;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    string s;
    cin >> s;
    set chars;
    for (char c : s)
    {

        if (!chars.count(c))
        {
            chars.insert(c);
        }
    }

    if (chars.size() % 2 == 0)
    {
        cout << "CHAT WITH HER!";
    }
    else
    {
        cout << "IGNORE HIM!";
    }

    cout << "\n";

    return 0;
}