Which object has less thermal energy?

 - an 800-gram rock at a temperature of 270°F
 - an 800-gram rock at a temperature of 250°F
The two rocks have the same mass but different temperatures. Since the 250°F rock is colder than the 270°F rock, it has less thermal energy.