CF196C Paint Tree

Description

You are given a tree with $ n $ vertexes and $ n $ points on a plane, no three points lie on one straight line. Your task is to paint the given tree on a plane, using the given points as vertexes. That is, you should correspond each vertex of the tree to exactly one point and each point should correspond to a vertex. If two vertexes of the tree are connected by an edge, then the corresponding points should have a segment painted between them. The segments that correspond to non-adjacent edges, should not have common points. The segments that correspond to adjacent edges should have exactly one common point.

Input Format

The first line contains an integer $ n $ ( $ 1

Output Format

Print $ n $ distinct space-separated integers from $ 1 $ to $ n $ : the $ i $ -th number must equal the number of the vertex to place at the $ i $ -th point (the points are numbered in the order, in which they are listed in the input). If there are several solutions, print any of them.

Explanation/Hint

The possible solutions for the sample are given below. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF196C/a95f8b6fcfb254d1f8656b062aef9bc93b0460d0.png)![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF196C/dfe0db226de1aa42fb5962aa07f4d0c31fb72c9c.png)