Which object has more thermal energy?

 - a 700-gram rock at a temperature of 70°C
 - a 700-gram rock at a temperature of 45°C
The two rocks have the same mass but different temperatures. Since the 70°C rock is hotter than the 45°C rock, it has more thermal energy.