17 lines
326 B
Rust
17 lines
326 B
Rust
|
use std::io;
|
||
|
use std::collections::HashSet;
|
||
|
|
||
|
fn main() {
|
||
|
let mut s = String::new();
|
||
|
io::stdin().read_line(&mut s).unwrap();
|
||
|
|
||
|
let mut seen = HashSet::new();
|
||
|
s.retain(|c| seen.insert(c));
|
||
|
|
||
|
if s.trim().len() % 2 != 0 {
|
||
|
println!("IGNORE HIM!");
|
||
|
} else {
|
||
|
println!("CHAT WITH HER!");
|
||
|
}
|
||
|
}
|