Problem C
Landsreisa
Languages
en
is
Stefán and Eva live in Vestmannaeyjar. Eva wants to see the entire country. They intend to visit every location in the country exactly once and then end up back in Vestmannaeyjar. Stefán hates traveling and thus wants to spend the least amount of time traveling between locations. If Stefán travels for too long he gets annoyed which in turn annoys Eva. Eva wants to keep Stefán in a good mood and thus has asked for your help making a travel plan. The shorter the travel plan the more satisfied Stefán will be.
The starting location of Stefán and Eva is location
Input
The input to this problem is not secret like in other problems, it can be found here.
The first line contains an integer
Output
Print the travel plan on one line with
Scoring
The score is given as an integer
