x,y,h=list(map(int,input().split())) n=0 while True: if x>=y and y>(h*100): y=y/2 h=h*2 n=n+1 elif x>(h*100): x=x/2 h=h*2 n-n+1 else: break print(n)