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