Kaleidoscopic Route
There are cities in Kaleidostan connected with bidirectional roads. The cities are numbered from to . Each road has an integer called colorfulness.
Keanu wants to travel from city to city . He wants to take the shortest route — that is, the route with the smallest number of roads. Among all the shortest routes, he wants to take the kaleidoscopic one — that is, the route with the largest possible difference between the maximum and the minimum colorfulnesses of its roads. Help Keanu find such a route.
Input
The first line contains two integers and — the number of cities and the number of roads (; ).
The -th of the following lines contains three integers , , and — the indices of the cities connected by the -th road, and the colorfulness of the -th road (; ; ).
Each pair of cities is connected by at most one road. It is guaranteed that you can travel from any city to any other city using the roads.
Output
In the first line, print a single integer — the number of roads in the required route.
In the second line, print integers — the sequence of cities on the route (; ; ).
Examples
Note
In the example test, the required route consists of roads, and the difference between the maximum and the minimum colorfulnesses of its roads is .