fn main() { let mut input = String::new(); std::io::stdin().read_line(&mut input).ok(); println!("{}", input.chars().rev().skip(1).collect::()); }