fn main() { let mut xx = String::new(); std::io::stdin().read_line(&mut xx).ok(); let xx: Vec = xx.split_whitespace().flat_map(str::parse).collect(); let (mut x, mut y, mut h) = (1000 * xx[0], 1000 * xx[1], xx[2]); let mut n = 0; while x > h || y > h { if x > h && y > h { if x < y { y *= 2; } else { x *= 2; } } else if x > h { y *= 2; } else { x *= 2; } h *= 4; n += 1; } println!("{n}"); }