On Monday the temperature was -12 degrees. On Tuesday the temperature increased by 5 degrees. On Wednesday the temperature decreased by 2 degrees. On Thursday the temperature decreased by 10 degrees. What was the temperature at the end of the day?