Bear Limak wants to become the largest of bears, or at least to become larger than his brother Bob.

Right now, Limak and Bob weigh a and b respectively. It's guaranteed that Limak's weight is smaller than or equal to his brother's weight.

Limak eats a lot and his weight is tripled after every year, while Bob's weight is doubled after every year.

After how many full years will Limak become strictly larger (strictly heavier) than Bob?


-----Input-----

The only line of the input contains two integers a and b (1 ≤ a ≤ b ≤ 10) — the weight of Limak and the weight of Bob respectively.


-----Output-----

Print one integer, denoting the integer number of years after which Limak will become strictly larger than Bob.


-----Examples-----
Input
4 7

Output
2

Input
4 9

Output
3

Input
1 1

Output
1



-----Note-----

In the first sample, Limak weighs 4 and Bob weighs 7 initially. After one year their weights are 4·3 = 12 and 7·2 = 14 respectively (one weight is tripled while the other one is doubled). Limak isn't larger than Bob yet. After the second year weights are 36 and 28, so the first weight is greater than the second one. Limak became larger than Bob after two years so you should print 2.

In the second sample, Limak's and Bob's weights in next years are: 12 and 18, then 36 and 36, and finally 108 and 72 (after three years). The answer is 3. Remember that Limak wants to be larger than Bob and he won't be satisfied with equal weights.

In the third sample, Limak becomes larger than Bob after the first year. Their weights will be 3 and 2 then.

Difficulty: interview

Starter code:

Solutions:
def l2i(s):
	return [int(i) for i in s.split()]
a, b=l2i(input())
t=0
while (a<=b):
	a*=3
	b*=2
	t+=1
print(t)

a,b = list(map(int,input().split()))
ans = 0
while a <= b:
    a *= 3
    b *= 2
    ans += 1
print(ans)    


a, b = list(map(int, input().split()))
y = 0
while a <= b:
    y += 1
    a *= 3
    b *= 2
print(y)


a, b = [int(i) for i in input().split()]
iters = 0
while a <= b:
	a *= 3
	b *= 2
	iters += 1
print(iters)

def inl():
    l = list(map(int , input().split()))
    return l

x , y = map(int , input().split())
l = 0
while 1:
    x *= 3
    y *= 2
    l += 1
    if(x > y):
        print(l)
        break

a,b=[int(x)for x in input().split()]
i=0
while a<=b:
    a*=3
    b*=2
    i+=1
print(i)


n,m = input().split()
n,m = int(n) , int(m)
i=0
while True:
       if n>m:
              break
       n=n*3
       m=m*2
       i+=1
print(i)


s = input().split()
a = int(s[0])
b = int(s[1])
p = 0
while True:
    p += 1
    a*=3
    b*=2
    if a>b:
        break
print(p)


a,b=map(int,input().split())
ans = 0
while a<=b:
    ans = ans + 1
    a = 3*a
    b = 2*b

print(ans)

a, b = list(map(int, input().split()))

years = 0

while a<=b:
    a*=3
    b*=2
    years+=1

print(years)


'''input
1 1
'''
a, b = map(int, input().split())
k = 0
while a <= b:
	a *= 3
	b *= 2
	k += 1
print(k)

a, b = list(map(int, input().split()))

y = 0
while(a <= b):
    y += 1
    a *= 3
    b *= 2

print(y)


n = [int(s) for s in input().split()]
a = n[0]
b = n[1]
t = 0
while a <= b:
    a = a*3
    b = b*2
    t += 1
print(t)


a,b=list(map(int,input().split()))
i=0
while a<=b:
    a*=3
    b*=2
    i+=1
print(i)


a,b = map(int, input().split())
ans = 0
while True:
    a *= 3
    b *= 2
    ans += 1
    if a > b:
        break;
print(ans)

from sys import stdin, stdout

a,b = list(map(int, stdin.readline().rstrip().split()))

years=0
while a<=b:
    a*=3
    b*=2
    years+=1

print(years)


a,b=map(int,input().split())
year=0
while a<=b:
    a*=3
    b*=2
    year+=1
print(year)

a, b = map(int, input().split())
i = 0
while True:
    i += 1
    a *= 3
    b *= 2
    if a>b:
        break
print(i)

a, b = list(map(int, input().split()))
n = 0
while a <= b:
    a *= 3
    b *= 2
    n += 1
print(n)


a,b  = list(map(int,input().split()))
cnt=0
while (a<=b):
	a *= 3
	b *= 2
	cnt += 1
print(cnt)


a, b = list(map(int, input().split()))
for i in range(10):
    if 3**i * a > 2**i * b:
        print(i)
        break



a,b = list(map(int,input().split()))
times = 0
while (a <= b) :  
	a = a * 3
	b = b * 2
	times += 1
print(times)


a,b = [int(x) for x in input().split(' ')]
c = 0
while b >= a:
    c += 1
    a *= 3
    b *= 2

print(c)


import sys
read=lambda:sys.stdin.readline().rstrip()
readi=lambda:int(sys.stdin.readline())
writeln=lambda x:sys.stdout.write(str(x)+"\n")
write=lambda x:sys.stdout.write(x)
a,b=map(int, read().split())
year = 0
while a <= b:
    a*=3;b*=2
    year += 1
writeln(year)