Ha ha, this is such a "digital camera" question. Those of us who used to shoot film never faced such a question. Back in the day it was a given that your camera was merely a light proof box and everything rested on the shoulders of the lens. But today it seems to be a mix between lens and sensor. If you view your image quality by dynamic range, then it's the sensor that matters, not the lens. But from an IQ point of view, it's the lens that determines the quality.