Two substances, A and B, initially at different temperatures, come into contact and reach thermal equilibrium. The mass of substance A is 6.34g and its initial temperature is 21.0?C. The mass of substance B is 26.0g and its initial temperature is 52.2?C. The final temperature of both substances at thermal equilibrium is 47.0?C.