// yuki 903 // 2019.10.11 bal4u #include int main() { int N; scanf("%d", &N); printf("%lf\n", (double)1/N); return 0; }