PP1 and Competitive Programming
After long journeys and wanderings, in one temple Kratos discovered an interesting find - a Greek car. It was one of the first prototypes that worked on clean energy. In the same temple, Kratos also found fuel - a fountain containing a litres of clean energy.
Kratos knows that 1 litre of clean energy is enough to cover 100 kilometres. However, there is one problem - the tank of the machine is designed so that no more than 1 litres of energy can be placed in it, and energy can only be replenished in the temple. However, having carefully studied the structure of this clean energy, Kratos realised that he could pour off it to the ground and leave it on the ground, and then return and put it into the tank without loss. Now he is interested in the question - what is the maximum distance he can travel on the machine he found?
One real number а (0.0 ≤ а ≤ 2.0) - the number of litres of clean energy in the fountain.
Print the maximum distance that Kratos can travel on the machine found. The answer should be displayed with an accuracy of 6 decimal places.