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

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

if a > b:
    print(0)
else :
    if b >= a * c:
        print(c)
    else :
        print(math.floor(b/a))