a,b,c=map(int,input().split());print([c,b//a][a*c>b]) a,b,c=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b c print([c,b//a][a*c>b]) print [c,b//a][a*c>b] [c,b//a] c b//a b a a*c>b a*c a c b c=map(int,input().split()) map(int,input().split()) c b,c=map(int,input().split()) map(int,input().split()) b a,b,c=map(int,input().split()) map(int,input().split()) a
a,b,c=map(int,input().split());print([c,b//a][a*c>b])