#include <iostream.h>int num(int zw){if(zw==1)return 1;else return zw*num(zw-1);}
int numb(int zwb){int s=0;for(int i=zwb;i;i--){ s=s+num(i);}return s;}void main(){cout<<numb(4)<<endl;}