Win Or Freeze

easy
https://codeforces.com/problemset/problem/150/A

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Notice

Check the link

Example

Input

        
Output

        
Previous
Two Pile With Grundy Number
Next
A Compatible Pair

Related Questions