#include <iostream>
#include <stdio.h>
#include <algorithm>
#define II int
#define DO double
#define IL inline
#define R register
#define I 5234560
using namespace std;
IL void of(R II &a) {
R char c=getchar(); R II w=1, p=0;
while (c<'0' || c>'9') { if(c=='-') w=-1; c=getchar(); }
while (c>='0' && c<='9') { p=p*10+c-'0'; c=getchar(); }
a=w*p;
}
/* -------------------- Peipei -------------------- */
II n;
DO ans;
DO T[I];
int main()
{
of(n);
for(R II i=1;i<=n;i++) {
ans+=(DO) ((100-T[i])*4200.0) / (DO) n;
T[i]=100;
for(R II j=i+1;j<=n;j++) {
R DO now=(T[i]+T[j])*0.5;
if(now<=1e-4) break ;
T[i]=T[j]=now;
}
}
printf("%.2lf\n",ans);
exit(0);
}