<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vertex_to_face_color(vertex_colors, faces):
 """ Convert a list of vertex colors to face colors. Parameters vertex_colors: (n,(3,4)), colors faces: (m,3) int, face indexes Returns face_colors: (m,4) colors """

    vertex_colors = to_rgba(vertex_colors)
    face_colors = vertex_colors[faces].mean(axis=1)
    return face_colors.astype(np.uint8)