def min_Jumps(a, b, d):
     
    temp = a 
    a = min(a, b) 
    b = max(temp, b) 
    if (d >= b): 
        return (d + b - 1) / b 
    if (d == 0): 
        return 0
    if (d == a): 
        return 1
    else:
        return 2
def min_Jumps(a, b, d):
    temp = a
    a = min(a, b)
    b = max(temp, b)
    if b <= d:
        return (d + b - 1) / b
       
    if d == 0:
        return 0
    if d == a:
        return 1
    else:
        return 2