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

#489. When a power of 8 goes over N

You get N. Find the smallest p with 8ᵖ > N. ### Input One integer N (1 ≤ N ≤ 10¹⁵). ### Output p.

Examples

Input
548
Output
4
Input
358
Output
3

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