#include using namespace std; int main() { int N; cin >> N; double Ans=1; int N2=1; int N3=1; int N4=1; int N5=1; if(N<=21){ for(int i=0;i=21){ cout << Ans << endl; } if(N>=17 && N<=20){ Ans=1.0+1.0/N2; cout << Ans << endl; } if(N>=12 && N<=16){ Ans=1.0+1.0/N2+1.0/N3; cout << Ans << endl; } if(N==11){ Ans=1.0+1.0/N2+1.0/N3+1.0/N4; cout << Ans << endl; } if(N==10){ Ans=1.0+1.0/N2+1.0/N3+1.0/N4+1.0/N5; cout << Ans << endl; } }