#include <stdio.h> int main(void) { int i,n,a[][2]={2,4,3,2,5,7,6,6,8,9,9,6,4,4,8,8,9,2,5,9}; float s=0; scanf("%d",&n); for(i=0;i<n;i++) s+=a[i][0]+a[i][1]; printf("%.2f\n",s/n); return 0; }