A, B, C = [int(x) for x in input().split()]

if A * C <= B:
    ans = C
else:
    ans = B // A

print(ans) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x A, B, C = [int(x) for x in input().split()] A [int(x) for x in input().split()] B C if A * C <= B:
    ans = C
else:
    ans = B // A A * C <= B A * C A C B ans = C ans C ans = B // A ans B // A B A print(ans) print ans C = [int(x) for x in input().split()] [int(x) for x in input().split()] C ans = C C ans A, B, C = [int(x) for x in input().split()] [int(x) for x in input().split()] A B, C = [int(x) for x in input().split()] [int(x) for x in input().split()] B ans = B // A B // A ans
A, B, C = [int(x) for x in input().split()]

if A * C <= B:
    ans = C
else:
    ans = B // A

print(ans)
