import math
A, B, C =map(int, input().split())
if B >= A * C:
  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 B >= A * C:
  print(C)
else:
  print(math.floor(B/A)) B >= A * C B A * C A C print(C) print C print(math.floor(B/A)) print math.floor(B/A) math.floor math floor B/A B A B, C =map(int, input().split()) map(int, input().split()) B C =map(int, input().split()) map(int, input().split()) C A, B, C =map(int, input().split()) map(int, input().split()) A
import math
A, B, C =map(int, input().split())
if B >= A * C:
  print(C)
else:
  print(math.floor(B/A))
