#include void cpy(unsigned long long int f[],unsigned long long int t[]){ int i; for(i=0;i<=1023;i++){t[i] = f[i];} } void res(unsigned long long int d[]){ int i; for(i=0;i<=1023;i++){d[i]=0;} } int main(void){ unsigned long long int a[1024]={0},b[1024]={0},n,i,j,k; scanf("%llu",&n); a[0] = 1; for(i = 1;i <= 8;i++){ res(b); for(j = 0;j <= 1023-n;j++){ for(k = 0;k <= n;k++){ b[j+k]+=a[j]; } } cpy(b,a); } printf("%llu\n",a[6*n]); return 0; }