A vertical hollow cylinder of height 1.52m is fitted with a movable piston of negligible mass and thickness. The lower half of the cylinder contains an ideal gas and the upper half is filled with mercury. The cylinder is initially at 300K. When the temperature is raised half of the mercury comes out of the cylinder . Find the temperature assuming the thermal expansion of mercury to be negligible.