#include using namespace std; int main() { float n; cin >> n; std::cout << std::fixed; std::cout << std::setprecision(6) << 1/n << endl;; }