import math
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
if b - (a * c) > 0:
  print(c)
else:
  print(math.floor(b / a)) import math math x = input().split() x input().split() ().split () input split a = int(x[0]) a int(x[0]) int x[0] x 0 b = int(x[1]) b int(x[1]) int x[1] x 1 c = int(x[2]) c int(x[2]) int x[2] x 2 if b - (a * c) > 0:
  print(c)
else:
  print(math.floor(b / a)) b - (a * c) > 0 b - (a * c) b a * c a c 0 print(c) print c print(math.floor(b / a)) print math.floor(b / a) math.floor math floor b / a b a x = input().split() input().split() x a = int(x[0]) int(x[0]) a b = int(x[1]) int(x[1]) b c = int(x[2]) int(x[2]) c
import math
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
if b - (a * c) > 0:
  print(c)
else:
  print(math.floor(b / a))