Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
379 B
1
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string name;
	int c = 0;
	cin >> name;

	for (int j = 0; j < name.length(); j++)
	{
		for (int i = j + 1; i < name.length(); i++)
		{
			if (name[j] == name[i]) name[j] = '0';
		}
		if (name[j] != '0') c++;
	}
	if (c % 2 == 0) cout << "CHAT WITH HIM";
	else cout << "IGNORE HIM";
}