#include using namespace std; double E[99];int k; main() { cin>>k; for(int i=k;i--;) { for(int j=1;j<7;j++)E[i]+=E[i+j]; E[i]=E[i]/6+1; } cout<