# Recipe 8: Decrease the amount of red in a picture by 50%

def decreaseRed(picture):
  for p in getPixels(picture):
    value=getRed(p)
    setRed(p, value/2.0)

