A rock is thrown straight up from the edge of a cliff. The rock reaches the maximum height of 15 m above the edge and then falls down to the bottom of the cliff 35 m below the cliff. What is the traveled distance of the rock?