Equal masses of three liquids, A, B and C have temperatures $ 10^{\circ}C, 25^{\circ}C \: and \: 40^{\circ}C$ respectively. If A and B are mixed, the mixtures has a temperature of $15^{\circ}C$. If B and C are mixed, the mixtures has a temperature of $30^{\circ}C$. If A and C are mixed, the temperature of the mixture is