Yet Another Array Partitioning Task

easy
https://codeforces.com/problemset/problem/1114/B

Input Format

check the link

Output Format

check the link

Constraints

check the link

Notice

check the link

Example

Input

        
Output

        
Previous
Basic Diplomacy
Next
New Year Book Reading

Related Questions