import sys
import math
import bisect

def main():
    a, b, c = map(int, input().split())
    ans = 0
    while ans < c and b >= a:
        b -= a
        ans += 1
    print(ans)

if __name__ == "__main__":
    main() import sys sys import math math import bisect bisect def main():
    a, b, c = map(int, input().split())
    ans = 0
    while ans < c and b >= a:
        b -= a
        ans += 1
    print(ans) main a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c ans = 0 ans 0 while ans < c and b >= a:
        b -= a
        ans += 1
     ans < c and b >= a ans < c ans c b >= a b a b -= a b a ans += 1 ans 1 print(ans) print ans if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    a, b, c = map(int, input().split())
    ans = 0
    while ans < c and b >= a:
        b -= a
        ans += 1
    print(ans) def main():
    a, b, c = map(int, input().split())
    ans = 0
    while ans < c and b >= a:
        b -= a
        ans += 1
    print(ans) main
import sys
import math
import bisect

def main():
    a, b, c = map(int, input().split())
    ans = 0
    while ans < c and b >= a:
        b -= a
        ans += 1
    print(ans)

if __name__ == "__main__":
    main()
