#!/usr/bin/ python3.8 import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines x, y, h = map(int, read().split()) x *= 10 ** 3 y *= 10 ** 3 answer = 0 while True: if x > h: h *= 4 y *= 2 elif y > h: h *= 4 x *= 2 else: break answer += 1 print(answer)