import numpy as np
import sys

a, b, c = map(int, input().split())
d = b // a
if d >= c:
	print(c)
else:
	print(d) import numpy as np numpy import sys sys a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c d = b // a d b // a b a if d >= c:
	print(c)
else:
	print(d) d >= c d c print(c) print c print(d) print d a, b, c = map(int, input().split()) map(int, input().split()) a c = map(int, input().split()) map(int, input().split()) c d = b // a b // a d b, c = map(int, input().split()) map(int, input().split()) b
import numpy as np
import sys

a, b, c = map(int, input().split())
d = b // a
if d >= c:
	print(c)
else:
	print(d)
