100 #ABC120A. [ABC120A] Favorite Sound

[ABC120A] Favorite Sound

Score : 100100 points

Problem Statement

Takahashi likes the sound when he buys a drink from a vending machine.

That sound can be heard by spending AA yen (the currency of Japan) each time.

Takahashi has BB yen. He will hear the sound as many times as he can with that money, but at most CC times, as he would be satisfied at that time.

How many times will he hear the sound?

Constraints

  • All values in input are integers.
  • 1A,B,C1001 \leq A, B, C \leq 100

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

Print the number of times Takahashi will hear his favorite sound.

2 11 4
4

Since he has not less than 88 yen, he will hear the sound four times and be satisfied.

3 9 5
3

He may not be able to be satisfied.

100 1 10
0