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

    if b >= a * c:
        print(c)
    else:
        print(int(b/a))
    
if __name__ == '__main__':
    main() def main():
    #n = int(input())
    a,b,c = map( int, input().split())

    if b >= a * c:
        print(c)
    else:
        print(int(b/a))
     main a,b,c = map( int, input().split()) a map( int, input().split()) map int input().split() ().split () input split b c if b >= a * c:
        print(c)
    else:
        print(int(b/a))
     b >= a * c b a * c a c print(c) print c print(int(b/a)) print int(b/a) int b/a b a if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    #n = int(input())
    a,b,c = map( int, input().split())

    if b >= a * c:
        print(c)
    else:
        print(int(b/a))
     def main():
    #n = int(input())
    a,b,c = map( int, input().split())

    if b >= a * c:
        print(c)
    else:
        print(int(b/a))
     main
def main():
    #n = int(input())
    a,b,c = map( int, input().split())

    if b >= a * c:
        print(c)
    else:
        print(int(b/a))
    
if __name__ == '__main__':
    main()