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