A magician named Robin has gone on a journey and you will join him in the new exciting online game Sun Quest. Your hero has reached an area where there are a lot of deep holes in the ground. You will have to help the character overcome them all. To do this, the magician will use a special magic staff, which is capable of extending to different lengths. Your task is to calculate how long the staff must extend to bridge the gap. If you calculated everything correctly, then your hero will be able to run across it over the gap and you will receive points for this in the Sun Quest game.