Madmax

medium
https://codeforces.com/contest/917/problem/B

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Example

Input

        
Output

        
Previous
Circle Game
Next
Palindrome Game (easy Version)

Related Questions