# Code for A - Favorite Sound
# Use input() to fetch data from STDIN
[a, b, c] = [int(x) for x in input().split()]

print(min(c, int(b / a))) 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, b, c] a b c [int(x) for x in input().split()] print(min(c, int(b / a))) print min(c, int(b / a)) min c int(b / a) int b / a b a
# Code for A - Favorite Sound
# Use input() to fetch data from STDIN
[a, b, c] = [int(x) for x in input().split()]

print(min(c, int(b / a)))
