If positive reals $x, y$ satisfy the equation $2(x+y) = 1 + xy$, find the minimum value of the expression $$A = x + \frac{1}{x} + y + \frac{1}{y}.$$

Let's think step by step and output the final answer within \boxed{}.
user