#include <stdio.h>

int main(void) {
	int a=1,b=2,c=3,d=4;
	printf("%d\n%d\n%d\n%d\n",a+b+c+d,(b*=a),(a+=d),(d++));
	return 0;
}
