Answer:
Heat will flow from the tea into the air in the room
Step-by-step explanation:
The sistem is going to find an equilibrium temperature for both elements.
As we have a small hot mass and a large cold mass, that temperature will be colder than the tea (and hotter than the air, but as the size of a cup is too small for a room, it will be almost equal to 24 Celsius)
Then the heat will 'leave' the tea.