import math

H = int(eval(input()))

W = int(eval(input()))

N = int(eval(input()))

n = max(H,W)

print((math.ceil(N/n)))
H = int(eval(input()))

W = int(eval(input()))

N = int(eval(input()))

a = max(H,W)

n = N//a

if N%a==0:

    print(n)

else:

    print((n+1))
import math

H = int(eval(input()))
W = int(eval(input()))
N = int(eval(input()))
n = max(H, W)
print((math.ceil(N / n)))

H = int(eval(input()))
W = int(eval(input()))
N = int(eval(input()))
a = max(H, W)
n = N // a
if N % a == 0:
    print(n)
else:
    print((n + 1))

-import math - -n = max(H, W) -print((math.ceil(N / n))) +a = max(H, W) +n = N // a +if N % a == 0: +    print(n) +else: +    print((n + 1))