problem 7 temp