line = input()
A,B,C = [int(n) for n in line.split()]
print(min(B//A,C)) 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 print(min(B//A,C)) print min(B//A,C) min B//A B A C B,C = [int(n) for n in line.split()] [int(n) for n in line.split()] B A,B,C = [int(n) for n in line.split()] [int(n) for n in line.split()] A C = [int(n) for n in line.split()] [int(n) for n in line.split()] C line = input() input() line
line = input()
A,B,C = [int(n) for n in line.split()]
print(min(B//A,C))