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

#460. Savings 12%

You put m tugriks in a bank. Every year the money grows: `m = m + m * 12 // 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
100184
Output
7
Input
916696
Output
7

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