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

nec = A*C
if(B>=nec):
    print(C)
else:
    i = C
    while all:
        if(A*i <= B):
            break
        else:
           i -= 1

    print(i) A,B,C = map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B C nec = A*C nec A*C A C if(B>=nec):
    print(C)
else:
    i = C
    while all:
        if(A*i <= B):
            break
        else:
           i -= 1

    print(i) B>=nec B nec print(C) print C i = C i C while all:
        if(A*i <= B):
            break
        else:
           i -= 1

     all if(A*i <= B):
            break
        else:
           i -= 1

     A*i <= B A*i A i B break i -= 1 i 1 print(i) print i nec = A*C A*C nec C = map(int,input().split()) map(int,input().split()) C A,B,C = map(int,input().split()) map(int,input().split()) A i = C C i B,C = map(int,input().split()) map(int,input().split()) B i -= 1 1 i
A,B,C = map(int,input().split())

nec = A*C
if(B>=nec):
    print(C)
else:
    i = C
    while all:
        if(A*i <= B):
            break
        else:
           i -= 1

    print(i)
