fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.clear(); std::io::stdin().read_line(&mut s).ok(); println!("{}", &s[1..s.len() - 1]) }