def factorial(n):
    # TODO: reject negative inputs; base case at 0
    pass

print(factorial(5))
