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

if B//A < C:
    print(B//A)
    
elif B//A >= C:
    print(C)
 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(B//A)
    
elif B//A >= C:
    print(C) B//A < C B//A B A C print(B//A) print B//A B A elif B//A >= C:
    print(C) B//A >= C B//A B A C print(C) print C 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
A, B, C = map(int, input().split())

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

