a = list(map(int,input().split()))
print(min((a[1]//a[0]),a[2]))
 a = list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split print(min((a[1]//a[0]),a[2])) print min((a[1]//a[0]),a[2]) min a[1]//a[0] a[1] a 1 a[0] a 0 a[2] a 2 a = list(map(int,input().split())) list(map(int,input().split())) a
a = list(map(int,input().split()))
print(min((a[1]//a[0]),a[2]))

