def main():
    a, b, c = map(int, input().split())
    total = b // a
    if total > c:
        print(c)
    else:
        print(total)

main() def main():
    a, b, c = map(int, input().split())
    total = b // a
    if total > c:
        print(c)
    else:
        print(total) main a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c total = b // a total b // a b a if total > c:
        print(c)
    else:
        print(total) total > c total c print(c) print c print(total) print total main() main def main():
    a, b, c = map(int, input().split())
    total = b // a
    if total > c:
        print(c)
    else:
        print(total) def main():
    a, b, c = map(int, input().split())
    total = b // a
    if total > c:
        print(c)
    else:
        print(total) main
def main():
    a, b, c = map(int, input().split())
    total = b // a
    if total > c:
        print(c)
    else:
        print(total)

main()