def final_output(image, backround, palette):
    """
    Makes the final output Image based  on image, backround, palette
    """
    # Create an offset and paste original Image within.
    offset = ((backround.width - image.width) // 2, (backround.height - image.height) // 8)
    backround.paste(image, offset)
    # Create an offset and paste palette below original Image.
    offset = ((backround.width - palette.width) // 2, ((backround.height - palette.height) // 8) + image.height)
    backround.paste(palette, offset)
    
    return backround