print(1 / Double(readLine()!)!)