#include using namespace std; int main() { double N; cin >> N; cout << 1 / N << endl; return 0; }