Recently, Rikka became the boss of a big company. There are n employees in Rikka's company, indexed from 1 to n. Employee 1 is Rikka herself.
Each employee except Rikka has a direct supervisor. The direct supervisor of the i-th employee is the p_i-th employee. The supervision relationship constitutes a tree. Employee u is a subordinate of Employee v if and only if v is the direct supervisor or an indirect supervisor of u.
To encourage employees, Rikka decides to let each employee experience the feeling of being the boss. To achieve this, Rikka will give some employees a holiday. For an employee, he/she will feel like the boss only when the following three conditions are satisfied:
Now, Rikka is going to make a plan. In the beginning, all employees are at work. In each day, Rikka can make one of the following actions:
Rikka wants you to make a plan. Since it is expensive to give employees holidays, you are required to make every employee feel like the boss and interview them within 9×106 days.
The first line contains a single integer n (1≤n≤105), the number of employees.
The second line contains n−1 integers p_2,…,p_n (1≤p_i<i), representing the direct supervisor of each employee.
Output a single line with a single string. From left to right:
Besides, Substring "!" represents that all actions are finished. Any characters after "!" will be ignored.
Your answer will be regarded as correct if and only if the following three conditions are satisfied: