n, h, m = map(int, input().split())
while h:
if m <= h:
n -= 1
break
else:
m -= h
n -= 1
print(n)
n, h, m = map(int, input().split())
while h:
if m <= h:
n -= 1
break
else:
m -= h
n -= 1
print(n)