def picture3 ():
  picture = makePicture ("mediumLion.jpg")
  show (picture)
  allPixels = getPixels (picture)
  for pixel in allPixels:
    red = getRed (pixel)
    blue = getBlue (pixel)
    green = getGreen (pixel)
    if ((red + 50) <= 255):
      setRed (pixel, (red+50))
    if ((blue + 50) <= 255):
      setBlue (pixel, (blue+50))
    if ((green + 50) <= 255):
      setGreen (pixel, (green+50))
  repaint(picture)
      