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