line = input()
a, b, c = [int(n) for n in line.split()]
b = b/a
b = int(b)
if b>c:
    print(c)
else:
    print(b) line = input() line input() input int(n) for n in line.split() for n in line.split() n line.split() line.split line split for n in line.split() int(n) int n a, b, c = [int(n) for n in line.split()] a [int(n) for n in line.split()] b c b = b/a b b/a b a b = int(b) b int(b) int b if b>c:
    print(c)
else:
    print(b) b>c b c print(c) print c print(b) print b a, b, c = [int(n) for n in line.split()] [int(n) for n in line.split()] a line = input() input() line b = int(b) int(b) b b, c = [int(n) for n in line.split()] [int(n) for n in line.split()] b c = [int(n) for n in line.split()] [int(n) for n in line.split()] c b = b/a b/a b
line = input()
a, b, c = [int(n) for n in line.split()]
b = b/a
b = int(b)
if b>c:
    print(c)
else:
    print(b)