Are Coprime

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

Print YES if gcd(a,b)=1.

Input Format

Two integers a b.

Output Format

YES or NO.

Sample Test Case

Input:
14 25
Output:
YES

Constraints

|a|,|b|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next