Answer $Q$ queries. For each pair $a$, $b$ print coprime if $\gcd(a, b) = 1$, otherwise no, one per line.
Input
Line 1: $Q$ ($1 \le Q \le 100000$). Next $Q$ lines: two integers ($2 \le a, b \le 100000$).
Output
Print coprime/no for each query, one per line.
Example 1
Input
3 8 11 12 18 5 7
Output
coprime no coprime
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.