def rope(n):
    if n <= 0:
        return 0
    else:
        return 1 + rope(n - 1) + rope(n - 2) + rope(n - 5)


print(rope(5))

ffb6f2da3262c10d21621adf6f06eb2576c88800
<mask token>

def rope(n):
    if n <= 0:
        return 0
    else:
        return 1 + rope(n - 1) + rope(n - 2) + rope(n - 5)


<mask token>

def rope(n):
    if n <= 0:
        return 0
    else:
        return 1 + rope(n - 1) + rope(n - 2) + rope(n - 5)


print(rope(5))
