Hi everyone;
I have a problem regarding measurement of a Dual 220V .
I hope someone could have the time a help me out, thanks in advance

the circuit attached has 2 inputs , variable from 130 ~ 240V, both have neutral in common.
the output from each branch (AN1 and AN2) goes to 2 analouge input of a microcontroller.
when I apply input only to (L_IN and neutral) I get reading from both AN1 and AN2,
almost the same value for both, which is a problem.
and when I apply input for both (L_IN and OUTPUT) with neutral in common,
I get unexpected reading cuz some times <OUTPUT> is much higher than <L_IN>.
I want to separate the out from the circuit (AN1 and AN2).
any idea how I would do that ( putting in mind that the both input voltages share the neutral)
thank you for your time, and for the help
Regards