If two objects have the same mass, the object with the higher temperature has greater thermal energy.
Johnny was was playing with chalk outside. His mom called him in for lunch, while he was inside his red chalk sat in the sun, and his blue chalk was in the shade. When Johnny returned outside and picked up the red and blue which had a higher temperature?

the red chalk
the blue chalk