Question: 
Write a python function to find the minimum operations required to make two numbers equal.


Model's Code:
def min_Operations(a, b):
    return abs(a - b) // 2 + abs(a - b) % 2



Sample Correct Code:
import math   
def min_Operations(A,B):  
    if (A > B): 
        swap(A,B)  
    B = B // math.gcd(A,B);  
    return B - 1


Asserts:
assert min_Operations(2,4) == 1
assert min_Operations(4,10) == 4
assert min_Operations(1,4) == 3


Tests:
Test 1 of 3: PASS
Test 2 of 3: FAIL: AssertionError()

Test 218 of 974: 159/218 (72.93577981651376%): failed