The surface of the highlands can be represented as a polygonal chain with vertices at the points \left(x_1, y_1\right), \left(x_2, y_2\right), \ldots, \left(x_N, y_N\right), with x_i < x_{i+1} for all from to N-1. An ordinary mountain magus stands at the point \left(x_1, y_1\right) and wants to reach the point \left(x_N, y_N\right). He can only move on foot. He is allowed to walk along the surface of the earth (i.e., along the polygonal chain). However, he can also create a bridge in the air and cross it. A bridge can connect two vertices of the polygonal chain: it must start and end at vertices of the polygonal chain, and the bridge cannot go underground (it must not form a tunnel in the mountain), though some points or segments of the bridge may touch the surface of the earth. The bridge cannot be longer than . The magus cannot build more than bridges. After crossing a bridge, it disappears.
What is the minimum distance the magus needs to travel to reach \left(x_N, y_N\right)?
The program should first read the positive integer (2 \leq N \leq 42); then a positive integer (1 \leq K \leq 23) — the maximum number of bridges; then an integer (0 \leq R \leq 10000) — the maximum possible length of a bridge. Next follow the coordinates \left(x_1, y_1\right), \left(x_2, y_2\right), \ldots, \left(x_N, y_N\right). All coordinates are integers and do not exceed in absolute value. For all from to N-1 we have x_i < x_{i+1}.
Print a single number — the minimum length of the path the magus has to travel (both on the ground and via bridges). Print the answer with exactly digits after the decimal point.
Example 1