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]

    """
    red_avg = sum([x.red for x in pixels])//len(pixels)
    green_avg = sum([x.green for x in pixels])//len(pixels)
    blue_avg = sum([x.blue for x in pixels])//len(pixels)
    return [red_avg, green_avg, blue_avg]