CodeLab Academy 📞 9936 6696
← List Python · Level 10: Algorithms Code · 100 points ← #978 #980 →

#979. Stairs: steps 1, 2, 5

A staircase has n steps. Each time you can climb 1, 2, 5 steps. How many ways are there to land exactly on the top? ### Input One integer n (1 ≤ n ≤ 60). ### Output A number.

Examples

Input
47
Output
47852534055
Input
58
Output
16927808528602

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!