#include int main() { int N; scanf("%d",&N); printf("%f",(double)(1/N)); return 0; }