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

    Assumes you are returning in the order: [red, green, blue]
    """
    # rgb of each pixel
    pixel_r = 0
    pixel_g = 0
    pixel_b = 0
    # how many pixels in the list[pixels]
    n = 0
    for pixel in pixels:
        n += 1
        pixel_r += pixel.red
        pixel_g += pixel.green
        pixel_b += pixel.blue
    pixel_avg = [pixel_r//n, pixel_g//n, pixel_b//n]
    return pixel_avg