n = int(input())result = 1for i in range(1, n + 1): result *= iprint(result)
4
24
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!