fn main() { let n: usize = { let mut line: String = String::new(); std::io::stdin().read_line(&mut line).unwrap(); line.trim().parse().unwrap() }; let mut s: Vec = { let mut line: String = String::new(); std::io::stdin().read_line(&mut line).unwrap(); line.trim().chars().collect() }; s=s[1..n-1].to_vec(); println!("{}", s.iter().collect::()); }