Which object has more thermal energy?

 - a 350-gram mug of cocoa at a temperature of 30°C
 - a 350-gram mug of cocoa at a temperature of 75°C
The two mugs of cocoa have the same mass but different temperatures. Since the 75°C mug of cocoa is hotter than the 30°C mug of cocoa, it has more thermal energy.