use std::io::stdin; fn main() { let mut input = String::new(); stdin().read_line(&mut input).ok(); let n: u32 = input.trim().parse().unwrap(); println!("{}", 1.0 / (n as f32)); }