while 1: n=input();i=r=1 while i<=n: a,b=r,i while a:a,b=b%a,a r=r*i/b;i+=1 print r