#include <stdio.h>
int main()
{
 int x,y;

 x=2;
 for(y=2; x<20;)
  {
   x=x*y;
   printf("%d\n",x++);
  }
 return 0;
}
