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

num = int(B / A)

if num >= C:
    print(C)
elif num >= 1:
    print(num)
else:
    print('0') A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C num = int(B / A) num int(B / A) int B / A B A if num >= C:
    print(C)
elif num >= 1:
    print(num)
else:
    print('0') num >= C num C print(C) print C elif num >= 1:
    print(num) num >= 1 num 1 print(num) print num print('0') print '0' A, B, C = map(int, input().split()) map(int, input().split()) A C = map(int, input().split()) map(int, input().split()) C B, C = map(int, input().split()) map(int, input().split()) B num = int(B / A) int(B / A) num
A, B, C = map(int, input().split())

num = int(B / A)

if num >= C:
    print(C)
elif num >= 1:
    print(num)
else:
    print('0')