use std::io;

fn main() 
{
    println!("Enter your name:");
    let mut name = String::new();
    io::stdin()
        .read_line(&mut name)
        .expect("Failded to read line");
    name.pop();
    println!("Hello, {}!", name);
}
