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

if B / A >= C:
    print(C)

elif 1 <= B / A < C:
    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 B / A >= C:
    print(C)

elif 1 <= B / A < C:
    print(B //A)

else:
    print(0)
    B / A >= C B / A B A C print(C) print C elif 1 <= B / A < C:
    print(B //A) 1 <= B / A < C 1 <= B / A 1 B / A B A C 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 B / A >= C:
    print(C)

elif 1 <= B / A < C:
    print(B //A)

else:
    print(0)
   