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

#434. Savings 8%

You put m tugriks in a bank. Every year the money grows: `m = m + m * 8 // 100`. After how many years will the money be at least 2 times the starting amount? ### Input One integer m (100 ≤ m ≤ 10⁶). ### Output The number of years.

Examples

Input
817628
Output
10
Input
284134
Output
10

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