n1 and n2 moles of two ideal gases (mol. wt. M1 and M2) respectively at temperature T1K and T2K are mixed. Assuming that no loss of energy, the temperature of mixture becomes