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