Three perfect gases at absolute temperatures {T_1},\,{T_2} and {T_3} are mixed. The masses of molecules are {m_1},{m_2} and {m_3} and the number of molecules are {n_1},{n_2} and {n_3} respectively. Assuming no loss of energy, the final temperature of the mixture is: