def get_average(pixels):
    """
    Given a list of pixels, finds the average red, blue, and green values

    Input:
        pixels (List[Pixel]): list of pixels to be averaged
    Returns:
        rgb (List[int]): list of average red, green, blue values across pixels respectively
    """
    t_red = 0
    t_blue = 0
    t_green = 0
    for points in pixels:
        t_red = t_red + points.red
        t_blue = t_blue + points.blue
        t_green = t_green + points.green
    avg_r = t_red // len(pixels)
    avg_b = t_blue // len(pixels)
    avg_g = t_green // len(pixels)
    return avg_r, avg_g, avg_b