a, b, c = map(int, input().split())
if a * c <= b:
    print(c)
if a * c > b:
    print(b // a)
#h
#
#
#
# e
# d
# h
# h
# r
# h
# b
# h
# cr
# h
# c
# b
# r
# y
# c
# y
# e
# g
# y
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# e a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c if a * c <= b:
    print(c) a * c <= b a * c a c b print(c) print c if a * c > b:
    print(b // a)
#h
#
#
#
# e
# d
# h
# h
# r
# h
# b
# h
# cr
# h
# c
# b
# r
# y
# c
# y
# e
# g
# y
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# e a * c > b a * c a c b print(b // a) print b // a b a a, b, c = map(int, input().split()) map(int, input().split()) a b, c = map(int, input().split()) map(int, input().split()) b c = map(int, input().split()) map(int, input().split()) c
a, b, c = map(int, input().split())
if a * c <= b:
    print(c)
if a * c > b:
    print(b // a)
#h
#
#
#
# e
# d
# h
# h
# r
# h
# b
# h
# cr
# h
# c
# b
# r
# y
# c
# y
# e
# g
# y
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# e