#432. When a power of 3 goes over N
You get N. Find the smallest p with 3ᵖ > N.
### Input
One integer N (1 ≤ N ≤ 10¹⁵).
### Output
p.
Examples
Input
380953665276
Output
25
Input
9431
Output
9
💡 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.