import sys x, y, h = map(int, input().split()) x *= 1000 y *= 1000 p = 0 tmp = h while tmp < x: tmp *= 4 p += 1 # print(p, file=sys.stderr) mx = 0 for i in range(p + 1): x_i = x y_i = y * pow(2, i) h_i = h * pow(4, i) count = i while h_i < y_i: h_i *= 4 x_i *= 2 count += 1 if mx < count: mx = count print(mx)