EasyRating 800
Growing Bears
Bear A weighs a and triples every year. Bear B weighs b (a ≤ b) and doubles every year. After how many whole years is A heavier than B?
Input
Two integers a and b (1 ≤ a ≤ b ≤ 10).
Output
The number of years.
Sample 1
Input
4 7
Output
2
Sample 2
Input
4 9
Output
3
Output appears here