CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #812 #814 →

#813. Tribonacci

T₁ = T₂ = T₃ = 1, Tₙ = Tₙ₋₁ + Tₙ₋₂ + Tₙ₋₃. You get n. Find Tₙ. ### Input One integer n (1 ≤ n ≤ 70). ### Output A number.

Examples

Input
63
Output
11152435162266241
Input
34
Output
235795681

💡 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!