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