# import sys
# x = 1000
# sys.setrecursionlimit(1000000000)


# total = []


# def cookies(n):
#     print(total)
#     if n == 0:
#         # add the ones that were created from the math below to the next one
#         return total[len(total)-2] + total[len(total)-3] + total[len(total)-4]
#     total.insert(0, n)
#     return cookies(n - 1)
