Which object has the most thermal energy?

 - a plate of spaghetti at a temperature of 52°C
 - a plate of spaghetti at a temperature of 35°C
 - a plate of spaghetti at a temperature of 49°C
All three plates of spaghetti have the same mass but different temperatures. Since the 52°C plate of spaghetti is the hottest, it has the most thermal energy.