And you apply 10V to A0? Just don't do that, but use a voltage divider to bring the voltage down to the allowed range.