def PV(s, alphabet) :
    """
        Return the parikh vector (list) of 
        the string s
        --------
        Parameters:
            s (str)
            alphabet (str)
            
        eg.
        PV("BANANA","ABN")
        Output:
        [3, 1, 2]
        
   """
    l=list()
    for c in alphabet:
        l.append(s.count(c))
    return l