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

    d = b // a

    print(min(c, d))


if __name__ == "__main__":
    main() def main():
    a, b, c = map(int, input().split())

    d = b // a

    print(min(c, d)) main a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c d = b // a d b // a b a print(min(c, d)) print min(c, d) min c d if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    a, b, c = map(int, input().split())

    d = b // a

    print(min(c, d)) def main():
    a, b, c = map(int, input().split())

    d = b // a

    print(min(c, d)) main
def main():
    a, b, c = map(int, input().split())

    d = b // a

    print(min(c, d))


if __name__ == "__main__":
    main()
