def fact(n):
if n == 0:
return 1
else:
return n * fact(n - 1)
if __name__ == '__main__':
print(fact(20))
ZGVmIGZhY3Qobik6CiAgICBpZiBuID09IDA6CiAgICAgICAgcmV0dXJuIDEKICAgIGVsc2U6CiAgICAgICAgcmV0dXJuIG4gKiBmYWN0KG4gLSAxKQoKaWYgX19uYW1lX18gPT0gJ19fbWFpbl9fJzoKICAgIHByaW50KGZhY3QoMjApKQ==