fn main() { let n: u32 = read(); println!("{}", 264 + 53 * n); } fn read() -> T { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().parse().ok().unwrap() }