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