Which object has the most thermal energy?

 - a 100-gram cup of black tea at a temperature of 47°C
 - a 100-gram cup of black tea at a temperature of 62°C
 - a 100-gram cup of black tea at a temperature of 56°C
All three cups of black tea have the same mass but different temperatures. Since the 62°C cup of black tea is the hottest, it has the most thermal energy.