Nezzar And Board

easy
https://codeforces.com/contest/1477/problem/A

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Notice

Check the link

Example

Input

        
Output

        
Previous
Pipelines
Next
Square-free Division (easy Version)

Related Questions