n = int(input()) wynik = 1if n%2 == 0: d = 2else: d = 1while d <= n: wynik *= d d += 2print(wynik)
4
8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!