A,B,C=map(int,input().split())
if B/A<0:
    print(0)
elif B/A>=C:
    print(C)
else:
    print(int(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<0:
    print(0)
elif B/A>=C:
    print(C)
else:
    print(int(B/A)) B/A<0 B/A B A 0 print(0) print 0 elif B/A>=C:
    print(C) B/A>=C B/A B A C print(C) print C print(int(B/A)) print int(B/A) int B/A B A B,C=map(int,input().split()) map(int,input().split()) B A,B,C=map(int,input().split()) map(int,input().split()) A C=map(int,input().split()) map(int,input().split()) C
A,B,C=map(int,input().split())
if B/A<0:
    print(0)
elif B/A>=C:
    print(C)
else:
    print(int(B/A))