import sys

a, b, c = map(int, sys.stdin.readline().split())

def main():
    res = min(b // a, c)
    print(res)

if __name__ ==  '__main__':
    main() import sys sys a, b, c = map(int, sys.stdin.readline().split()) a map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split b c def main():
    res = min(b // a, c)
    print(res) main res = min(b // a, c) res min(b // a, c) min b // a b a c print(res) print res if __name__ ==  '__main__':
    main() __name__ ==  '__main__' __name__ '__main__' main() main a, b, c = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) a b, c = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) b def main():
    res = min(b // a, c)
    print(res) def main():
    res = min(b // a, c)
    print(res) main c = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) c
import sys

a, b, c = map(int, sys.stdin.readline().split())

def main():
    res = min(b // a, c)
    print(res)

if __name__ ==  '__main__':
    main()