def perm_conjugate(p, s):
    """
    Return the conjugate of the permutation `p`  by the permutation `s`.

    INPUT:

    two permutations of {0,..,n-1} given by lists of values

    OUTPUT:

    a permutation of {0,..,n-1} given by a list of values

    EXAMPLES::

        sage: from sage.combinat.constellation import perm_conjugate
        sage: perm_conjugate([3,1,2,0], [3,2,0,1])
        [0, 3, 2, 1]
    """
    q = [None] * len(p)
    for i in range(len(p)):
        q[s[i]] = s[p[i]]
    return q