The conversation between human and AI assistant.
[|Human|] Write an IF-THEN statement to control the temperature in a room.
[|AI|] IF the temperature in the room rises above 24°C, THEN turn on the air conditioner to decrease the temperature until it reaches a comfortable level of 22°C.
[|Human|] 
Write an IF-THEN statement to control the temperature in a room.