#include using namespace std; int main(){ float n;cin >> n; printf("%.10lf",1.0/n); return 0; }