def METHOD_NAME(x, y):
    from ..domains import ZZ
    if x == 1:
        return [y]
    xp = ZZ.invert(int(x), int(y))
    rv = [Integer(xp*y)]
    rv.extend(METHOD_NAME((x*xp - 1)//y, xp))
    return sorted(rv)