#include #include #include int main(void){ int n; scanf("%d",&n); printf("%lf\n",(double)1/n); }