N=int(input())s=1for i in range (1,N+1): s*=i print(s)
1 2 3 4 5
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!