CodeLab Academy 📞 9936 6696
← List Python · Level 5: While loops Code · 50 points ← #471 #473 →

#472. Divide by 6 until 0

You get n. Repeat `n = n // 6` until n becomes 0. How many times do you repeat it? ### Input One integer n (0 ≤ n ≤ 10¹²). ### Output A number.

Examples

Input
30614
Output
6
Input
11553006962
Output
13

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