def main():
    a, b, c = map(int, input().split())
    Count = 0
    while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
    print(Count)


if __name__ == "__main__":
    main() def main():
    a, b, c = map(int, input().split())
    Count = 0
    while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
    print(Count) main a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c Count = 0 Count 0 while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
     True b = b-a b b-a b a if Count == c or b < 0:
            break
         Count == c or b < 0 Count == c Count c b < 0 b 0 break Count += 1 Count 1 print(Count) print Count if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    a, b, c = map(int, input().split())
    Count = 0
    while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
    print(Count) def main():
    a, b, c = map(int, input().split())
    Count = 0
    while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
    print(Count) main
def main():
    a, b, c = map(int, input().split())
    Count = 0
    while True:
        b = b-a
        if Count == c or b < 0:
            break
        Count += 1
    print(Count)


if __name__ == "__main__":
    main()
