Complete the following Python function based on the description and the examples. The order of code is crucial so think carefully before writing code. Remember to import all necessary packages used in the function:
def special_factorial(n):
    """The Brazilian factorial is defined as:
    brazilian_factorial(n) = n! * (n-1)! * (n-2)! *... * 1!
    where n > 0

    For example:
    >>> special_factorial(4)
    288

    The function will receive an integer as input and should return the special
    factorial of this integer.
    """ Please use JSON format in your answer.
user