Analyze the given text to identify the maximum and the minimum values.
The temperatures on Tuesday ranged between 20°C and 40°C.
The maximum temperature on Tuesday was 40°C and the minimum temperature was 20°C.