import sys
import math
import itertools

a,b,c=list(map(int,input().split()))
count=math.floor(b/a)
if (count>=c):
	print(c)
	sys.exit()
print(count) import sys sys import math math import itertools itertools a,b,c=list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split b c count=math.floor(b/a) count math.floor(b/a) math.floor math floor b/a b a if (count>=c):
	print(c)
	sys.exit() count>=c count c print(c) print c sys.exit() sys.exit sys exit print(count) print count c=list(map(int,input().split())) list(map(int,input().split())) c b,c=list(map(int,input().split())) list(map(int,input().split())) b a,b,c=list(map(int,input().split())) list(map(int,input().split())) a count=math.floor(b/a) math.floor(b/a) count
import sys
import math
import itertools

a,b,c=list(map(int,input().split()))
count=math.floor(b/a)
if (count>=c):
	print(c)
	sys.exit()
print(count)