Given two positive numbers X and Y. Find the maximum value integer A such that:
a. A divides X i.e. X % A = 0
b. A and Y are co-prime i.e. gcd(A, Y) = 1
For example:
X = 30
Y = 12
We return
A = 5
Run python solution.py
on your terminal
To run tests, run python test_solution.py
on your terminal
This solution will work for python3