# version code 3ba3eff2f160+
# Please fill out this stencil and submit using the provided submission script.





## 1: () Subfunction
#Write the procedure subfunction(A, V, W) as described in the problem
#You are allowed to use other procedures you have written in previous assignments.

def subfunction(A, V, W):
    '''
    >>> from vecutil import list2vec
    >>> from matutil import listlist2mat
    >>> A = listlist2mat([[1,1],[1,1]])
    >>> V = [list2vec([0,1])]
    >>> W = [list2vec([0,1]),list2vec([1,0])]
    >>> (Vstar, Wstar) = subfunction(A, V, W)
    >>> len(Vstar)
    1
    >>> abs(Vstar[0][0]) < 1e-6
    True
    >>> abs(Vstar[0][1]) > 1e-6
    True
    >>> len(Wstar)
    1
    >>> abs(Wstar[0][0] - Wstar[0][1]) < 1e-6
    True
    >>> abs(Wstar[0][0]) > 1e-6
    True
    '''
    pass

