def METHOD_NAME(x, y):
    if x == 1:
        return [y]
    a = (-y) % x
    b = y*(y//x + 1)
    c = math.gcd(a, b)
    if c > 1:
        num, denom = a//c, b//c
    else:
        num, denom = a, b
    return [y//x + 1] + METHOD_NAME(num, denom)