fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); for c in s.chars() { if c == 'a' { print!("a") } } println!("a") }