In the movie "Blues Brothers", the orphanage where Elwood and Jack were raised must be sold to the Board of Education unless they pay dollars in taxes at the Cook County Assessor's Office in Chicago. After playing a concert at the Palace Hotel and earning dollars, they must find a way to Chicago. However, this is not as easy as it sounds, since they are pursued by the police, a country band, and a group of Nazis. Moreover, it is miles to Chicago, it is dark, and they are wearing sunglasses.
As they are on a mission from God, you should help them find the safest route to Chicago. The safest route is the one with the highest probability of not being caught.
The first line contains two integers and (2 \le n \le 100, 1 \le m \le \frac{n \cdot (n - 1)}{2}), where is the number of intersections and is the number of streets.
Each of the next lines describes a street with three integers , , and (1 \le a, b \le n, a \ne b, 1 \le p \le 100): and are the endpoints of the street, and is the probability (in percent) that the Blues Brothers can pass along this street without being caught. Each street is bidirectional, and there is at most one street between any pair of intersections.
Calculate the probability of the safest path from intersection (the Palace Hotel) to intersection . You may assume that there is at least one path between intersection and .
Print this probability as a percentage with exactly digits after the decimal point, in the format shown below.

Example 1
The safest path for the sample input is 1 \to 4 \to 3 \to 5.