Row Gcd

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

Input Format

Check the link

Output Format

Check the link

Constraints

Check the link

Notice

Check the link

Example

Input

        
Output

        
Previous
Position In Fraction
Next
About Bacteria

Related Questions