fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. set<char>st;
  6. string s;
  7. cin >> s;
  8. int n = s.size();
  9. for(int i =0;i<n;i++){
  10. st.insert(s[0]);
  11. }
  12. int f = st.size();
  13. if(f %2==0){
  14. cout << "CHAT WITH HER!" << endl;
  15. }
  16. else{
  17. cout << "IGNORE HIM!" << endl;
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5284KB
stdin
xiaodao

stdout
IGNORE HIM!