import sys
input = sys.stdin.readline

a, b, c = [int(x) for x in input().split()]
print(min(b//a, c)) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x a, b, c = [int(x) for x in input().split()] a [int(x) for x in input().split()] b c print(min(b//a, c)) print min(b//a, c) min b//a b a c a, b, c = [int(x) for x in input().split()] [int(x) for x in input().split()] a b, c = [int(x) for x in input().split()] [int(x) for x in input().split()] b c = [int(x) for x in input().split()] [int(x) for x in input().split()] c input = sys.stdin.readline sys.stdin.readline input
import sys
input = sys.stdin.readline

a, b, c = [int(x) for x in input().split()]
print(min(b//a, c))