You want to divide 66 golf balls and 49 tennis balls among several carts. The number of golf balls in each cart and the number of tennis balls in each cart are the same. How many carts will there be if there are 6 golf balls left and 4 tennis balls left?
49 4 [OP_SUB] 66 6 [OP_SUB] [OP_GCD]
var_a = 49
var_b = 4
var_c = var_a - var_b
var_d = 66
var_e = 6
var_f = var_d - var_e
var_g = math.gcd(int(var_f), int(var_c))
print(int(var_g))