Bear 2 dreams of becoming the largest bear in the world ... Or at least bigger than his brother bear .
It is known that bear II now weighs a, The bear weighs b.
Every year , The weight gain of bear II is... Of last year 3 times , Bear's weight gain is... Of last year 2 times .
Now Xiong Er wants to know how many years it will take at least , It can weigh more than its brother .
Two positive integers per line a and b, There is a space between the two ,a No more than b, And no more than 10000
Each line outputs a positive integer , That is, it takes at least a few years for Bear 2 to weigh more than bear .
The sample input Copy
Sample output Copy
本文为[CSDN Q & A]所创，转载请带上原文链接，感谢