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

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

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

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

if __name__ == '__main__':
    main()
