#[allow(dead_code)] #[allow(unused_imports)] fn read() -> T { use std::io::*; let stdin = stdin(); let stdin = stdin.lock(); let token: String = stdin .bytes() .map(|c| c.expect("failed to read char") as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect(); token.parse().ok().expect("failed to parse token") } fn main(){ let t:String = read(); let s:Vec = t.chars().collect(); if s[0] == '-' { println!("{}",0); }else{ let mut ans = String::new(); for i in 0..s.len() - 2 { ans.push(s[i]); } if s.len() < 2 { ans.push('0'); } println!("{}",ans); } }