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