#include "stdio.h"
#define MAXN 100
int a[MAXN];
int main()
{
int n,m,i,j,c,t;
printf("2<=n&&n<=100/n");
while (1)
{
scanf("%d",&n);
if (n >= 2 && n <= 100)
{
break;
}
printf("the input illegal/n");
}
a[0] = 1;
m = 1;
for (i = 2; i <= n; i++)
{
c = 0;
for (j = 0; j < m; j++)
{
t = a[j] * i + c;
a[j] = t % 10;
c = t / 10;
}
while (c)
{
a[m++] = c % 10;
c /= 10;
}
printf("%2d!=",i);
for (j = m-1; j >= 0; j--)
{
printf("%d",a[j]);
}
printf("/n");
}
return 1;
}