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