On a winter day with a temperature of -10°C, 500g of snow (water ice) is brought inside where the temperature is 18 °C. The snow warms, then melts to water, and then warms to room temperature. What is the total amount of heat energy absorbed by the snow in this process?