k = int(input()) # floors
m = int(input()) # flats
r = int(input()) # flat N
ans = 1
while True:
if r <= m:
print(ans)
break
else:
if r > m * k:
r -= m * k
ans += 1
r -= m
k = int(input()) # floors
m = int(input()) # flats
r = int(input()) # flat N
ans = 1
while True:
if r <= m:
print(ans)
break
else:
if r > m * k:
r -= m * k
ans = 1
else:
ans += 1
r -= m