# 120_a
A, B, C = map(int, input().split())
if (1<=A&A<=100)&(1<=B&B<=100)&(1<=C&C<=100):
    C_price=A*C
    if B<C_price:
        B_count=int(B/A)
    elif B>=C_price:
        B_count=C
    print(B_count) A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C if (1<=A&A<=100)&(1<=B&B<=100)&(1<=C&C<=100):
    C_price=A*C
    if B<C_price:
        B_count=int(B/A)
    elif B>=C_price:
        B_count=C
    print(B_count) (1<=A&A<=100)&(1<=B&B<=100)&(1<=C&C<=100) (1<=A&A<=100)&(1<=B&B<=100) 1<=A&A<=100 1<=A&A 1 A&A A A 100 1<=B&B<=100 1<=B&B 1 B&B B B 100 1<=C&C<=100 1<=C&C 1 C&C C C 100 C_price=A*C C_price A*C A C if B<C_price:
        B_count=int(B/A)
    elif B>=C_price:
        B_count=C
     B<C_price B C_price B_count=int(B/A) B_count int(B/A) int B/A B A elif B>=C_price:
        B_count=C
     B>=C_price B C_price B_count=C B_count C print(B_count) print B_count C_price=A*C A*C C_price A, B, C = map(int, input().split()) map(int, input().split()) A B_count=int(B/A) int(B/A) B_count B_count=C C B_count B, C = map(int, input().split()) map(int, input().split()) B C = map(int, input().split()) map(int, input().split()) C
# 120_a
A, B, C = map(int, input().split())
if (1<=A&A<=100)&(1<=B&B<=100)&(1<=C&C<=100):
    C_price=A*C
    if B<C_price:
        B_count=int(B/A)
    elif B>=C_price:
        B_count=C
    print(B_count)