A, B, C = (int(x) for x in input().split())
if B//A >= C:
  print(C)
else:
  print(B//A) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x A, B, C = (int(x) for x in input().split()) A (int(x) for x in input().split()) B C if B//A >= C:
  print(C)
else:
  print(B//A) B//A >= C B//A B A C print(C) print C print(B//A) print B//A B A A, B, C = (int(x) for x in input().split()) (int(x) for x in input().split()) A C = (int(x) for x in input().split()) (int(x) for x in input().split()) C B, C = (int(x) for x in input().split()) (int(x) for x in input().split()) B
A, B, C = (int(x) for x in input().split())
if B//A >= C:
  print(C)
else:
  print(B//A)