In the circuit shown in the figure when switch S1 is closed and S2 is open, the ideal voltmeter shows a reading 18V. When switch S2 is closed and S1 is open, the reading of the voltmeter is 24V. When S1 and S2 both are closed the voltmeter reading will be