import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

def main():
    a, b, c = input_nums()
    if b//a > c: print(c)
    else: print(b//a)

if __name__ == '__main__':
    main() import sys sys input = lambda: sys.stdin.readline().rstrip() input lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip input_nums = lambda: list(map(int, input().split())) input_nums lambda: list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split def main():
    a, b, c = input_nums()
    if b//a > c: print(c)
    else: print(b//a) main a, b, c = input_nums() a input_nums() input_nums b c if b//a > c: print(c)
    else: print(b//a) b//a > c b//a b a c if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main input_nums = lambda: list(map(int, input().split())) lambda: list(map(int, input().split())) input_nums def main():
    a, b, c = input_nums()
    if b//a > c: print(c)
    else: print(b//a) def main():
    a, b, c = input_nums()
    if b//a > c: print(c)
    else: print(b//a) main input = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() input
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

def main():
    a, b, c = input_nums()
    if b//a > c: print(c)
    else: print(b//a)

if __name__ == '__main__':
    main()
