use proconio::{fastout, input, marker::Bytes}; #[fastout] fn main() { input! { n: Bytes, } println!("{}", output(solve(n))) } fn solve(mut n: Vec) -> Vec { if *n.first().unwrap() == b'-' || n.len() <= 2 { vec![b'0'] } else { n.pop(); n.pop(); n } } fn output(ans: Vec) -> String { String::from_utf8(ans).unwrap() }