x, y, z = map(int,input().split())
print(min(int(y/x), z)) x, y, z = map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split y z print(min(int(y/x), z)) print min(int(y/x), z) min int(y/x) int y/x y x z z = map(int,input().split()) map(int,input().split()) z y, z = map(int,input().split()) map(int,input().split()) y x, y, z = map(int,input().split()) map(int,input().split()) x
x, y, z = map(int,input().split())
print(min(int(y/x), z))