Take A Guess

medium
<a href="https://codeforces.com/problemset/problem/1556/D">https://codeforces.com/problemset/problem/1556/D</a>

Input Format

.

Output Format

.

Constraints

.

Notice

.

Example

Input
1
Output
1
Previous
Tree Diameter
Next
Nastia And A Hidden Permutation

Related Questions