Board Game

easy
https://codeforces.com/contest/533/problem/C

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Example

Input

        
Output

        
Previous
Two Hundred Twenty One
Next
Road To Post Office

Related Questions