Which object has more thermal energy?

 - a 300-gram rock at a temperature of 120°F
 - a 300-gram rock at a temperature of 145°F
The two rocks have the same mass but different temperatures. Since the 145°F rock is hotter than the 120°F rock, it has more thermal energy.