def ABC_120_A():
    A,B,C = map(int, input().split())
    if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A))

if __name__ == '__main__':

    ABC_120_A() def ABC_120_A():
    A,B,C = map(int, input().split())
    if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A)) ABC_120_A A,B,C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A)) int(B/A) >= C int(B/A) int B/A B A C print(C) print C print(int(B/A)) print int(B/A) int B/A B A if __name__ == '__main__':

    ABC_120_A() __name__ == '__main__' __name__ '__main__' ABC_120_A() ABC_120_A def ABC_120_A():
    A,B,C = map(int, input().split())
    if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A)) def ABC_120_A():
    A,B,C = map(int, input().split())
    if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A)) ABC_120_A
def ABC_120_A():
    A,B,C = map(int, input().split())
    if int(B/A) >= C:
        print(C)
    else:
        print(int(B/A))

if __name__ == '__main__':

    ABC_120_A()