X,Y,H = map(int,input().split()) X *= 1000 Y *= 1000 from collections import deque q = deque([(0,X,Y)]) ans = 0 while q: k,x,y = q.popleft() ans = max(ans, k) h = 2**k * H if x > h: q.append((k+1,x/2,y)) if y > h: q.append((k+1,x,y/2)) print(ans)