
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In a summer cottage village where Gavrila spends his holidays, there is a water supply with cold water. Gavrila's parents installed a water heater with a fixed capacity, provided the temperature of the water inside is below $100^{\circ} \mathrm{C}$. After the water pipe enters the house, a tee fitting was installed so that part of the water goes through the heater to the hot tap, while the remaining water flows directly to the cold tap. Before exiting, the hot and cold water mix. Gavrila fully opened the cold tap and found the water temperature to be $20^{\circ} \mathrm{C}$. When he closed the cold tap and opened the hot tap, the water flowed at the same rate with a temperature of $40^{\circ} \mathrm{C}$. Then Gavrila opened both taps equally so that the flow rate remained the same. What is the temperature of the water in this case?

Present the answer in LaTex format: \boxed{Your answer}
user