package main

import . "fmt"

func main() {
	var n float64
	Scan(&n)
	Println(1/n)
}