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