A, B, C = input().strip().split()
A, B, C = [int(A), int(B), int(C)]

if B/A < 1:
    print(0)
elif B/A > C:
    print(C)
else:
    print(int(B/A)) A, B, C = input().strip().split() A input().strip().split() ().strip().split ().strip() ().strip () input strip split B C A, B, C = [int(A), int(B), int(C)] A [int(A), int(B), int(C)] int(A) int A int(B) int B int(C) int C B C if B/A < 1:
    print(0)
elif B/A > C:
    print(C)
else:
    print(int(B/A)) B/A < 1 B/A B A 1 print(0) print 0 elif B/A > C:
    print(C) B/A > C B/A B A C print(C) print C print(int(B/A)) print int(B/A) int B/A B A A, B, C = input().strip().split() input().strip().split() A B, C = [int(A), int(B), int(C)] [int(A), int(B), int(C)] B C = [int(A), int(B), int(C)] [int(A), int(B), int(C)] C A, B, C = [int(A), int(B), int(C)] [int(A), int(B), int(C)] A B, C = input().strip().split() input().strip().split() B C = input().strip().split() input().strip().split() C
A, B, C = input().strip().split()
A, B, C = [int(A), int(B), int(C)]

if B/A < 1:
    print(0)
elif B/A > C:
    print(C)
else:
    print(int(B/A))