retornar tupla ou nulo
# return tuple or null
def solve s,g
s % g != 0 ? -1 : [g, s - g]
end
# FYI: the problem to solve is:
# Given the sum and gcd of two numbers, return the two numbers in ascending order.
Mackerel