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