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

if (c*a) <= b:
    print(c)
else:
    print(b//a) a, b, c = list(map(int, input().split())) a list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split b c if (c*a) <= b:
    print(c)
else:
    print(b//a) (c*a) <= b c*a c a b print(c) print c print(b//a) print b//a b a a, b, c = list(map(int, input().split())) list(map(int, input().split())) a b, c = list(map(int, input().split())) list(map(int, input().split())) b c = list(map(int, input().split())) list(map(int, input().split())) c
a, b, c = list(map(int, input().split()))

if (c*a) <= b:
    print(c)
else:
    print(b//a)