A,B,K = map(int,input().split())
print((B//A,K)[B//A >= K]) A,B,K = map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B K print((B//A,K)[B//A >= K]) print (B//A,K)[B//A >= K] (B//A,K) B//A B A K B//A >= K B//A B A K B,K = map(int,input().split()) map(int,input().split()) B K = map(int,input().split()) map(int,input().split()) K A,B,K = map(int,input().split()) map(int,input().split()) A
A,B,K = map(int,input().split())
print((B//A,K)[B//A >= K])