Heat will flow from the block to the water until both substances have a temperature between 20 degrees Celsius and 300 degrees Celsius.
In the given scenario, the aluminum block at 300°C will transfer heat to the water at 20°C until thermal equilibrium is reached. This means that the final temperature will be somewhere between the two initial temperatures.