Tic-tac-toe

easy
https://codeforces.com/problemset/problem/3/C

Input Format

check the link

Output Format

check the link

Constraints

check the link

Notice

check the link

Example

Input

        
Output

        
Previous
Plate Games
Next
Naming-company

Related Questions