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