# A - Favorite Sound

A, B, C = map(int, input().split())

# A enn B kai MAX c

if A * C <= B:
    answer = C
else:
    answer = B // A

print(answer) 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:
    answer = C
else:
    answer = B // A A * C <= B A * C A C B answer = C answer C answer = B // A answer B // A B A print(answer) print answer B, C = map(int, input().split()) map(int, input().split()) B A, B, C = map(int, input().split()) map(int, input().split()) A answer = C C answer C = map(int, input().split()) map(int, input().split()) C answer = B // A B // A answer
# A - Favorite Sound

A, B, C = map(int, input().split())

# A enn B kai MAX c

if A * C <= B:
    answer = C
else:
    answer = B // A

print(answer)
