A,B,C=map(int,input().split())
if B//A>C:
    print(C)
else:
    print(B//A) A,B,C=map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B C if B//A>C:
    print(C)
else:
    print(B//A) B//A>C B//A B A C print(C) print C print(B//A) print B//A B A A,B,C=map(int,input().split()) map(int,input().split()) A B,C=map(int,input().split()) map(int,input().split()) B C=map(int,input().split()) map(int,input().split()) C
A,B,C=map(int,input().split())
if B//A>C:
    print(C)
else:
    print(B//A)