Two moles of an ideal gas is changed from its initial state (16atm,6L) to final state (4atm,15L) in such a way that this change can be represented by a straight line in P−V curve. The maximum temperature attained by the gas during the above change is: