#include<stdio.h>
int main()
{
int n = 1;
int i = 1;
int ret = 1;
scanf_s("%d", &n);
for (i = 1; i <= n; i++)
{
ret = ret * i;
printf("ret=%d\n", ret);
}
return 0;
}