import math

a,b,c=map(int,input().split())

if a*c<=b:
  print(c)
else:
  print(math.floor(b/a)) import math math a,b,c=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b c if a*c<=b:
  print(c)
else:
  print(math.floor(b/a)) a*c<=b a*c a c b print(c) print c print(math.floor(b/a)) print math.floor(b/a) math.floor math floor b/a b a c=map(int,input().split()) map(int,input().split()) c a,b,c=map(int,input().split()) map(int,input().split()) a b,c=map(int,input().split()) map(int,input().split()) b
import math

a,b,c=map(int,input().split())

if a*c<=b:
  print(c)
else:
  print(math.floor(b/a))