#include using namespace std; int main() { float n; cin >> n; cout << 1.0 / n << endl; return 0; }