fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n: u16 = s.trim().parse().unwrap(); println!("{}", n / 2 * 2) }