x,y,h = map(int, input().split()) x*=(2**1000)*1000 y*=(2**1000)*1000 h*=2**1000 if x=h: x//=2 h*=2 ans+=1 while y>=h: y//=2 h*=2 ans+=1 print(ans)