#include using ll = long long int; using namespace std; ll mod=1e9+7; int main(){ double n; cin >>n; cout << 1/n << endl; }