Road To Post Office

medium
https://codeforces.com/problemset/problem/702/D

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Example

Input

        
Output

        
Previous
Board Game
Next
Infinite Fence

Related Questions