a,b,c = map(int, input().split())

if a <= b:
    if c >= int(b/a):
        print(int(b/a))
    else:
        print(c)
else:
    print(0) a,b,c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c if a <= b:
    if c >= int(b/a):
        print(int(b/a))
    else:
        print(c)
else:
    print(0) a <= b a b if c >= int(b/a):
        print(int(b/a))
    else:
        print(c) c >= int(b/a) c int(b/a) int b/a b a print(int(b/a)) print int(b/a) int b/a b a print(c) print c print(0) print 0 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())

if a <= b:
    if c >= int(b/a):
        print(int(b/a))
    else:
        print(c)
else:
    print(0)