import sys
def input(): return sys.stdin.readline().strip()


def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C))


if __name__ == "__main__":
    main() import sys sys def input(): return sys.stdin.readline().strip() input def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C)) main A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C print(min(B // A, C)) print min(B // A, C) min B // A B A C if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C)) def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C)) main
import sys
def input(): return sys.stdin.readline().strip()


def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C))


if __name__ == "__main__":
    main()
