Question: 1 mole each of A and B were mixed to obtain an ideal solution of which one mole went to the vapour phase at equilibrium. If $P°_\mathrm{A} = \pu{100 torr}$ and $P°_\mathrm{B} = \pu{900 torr}$, then $P_\mathrm{S}$ would be?
For the above question, I first calculated vapour pressure of A and B which came out to be $\pu{50 torr}$ and $\pu{450 torr}$ respectively (using $P°_\mathrm{A} × X_\mathrm{A}$ where $X_\mathrm{A}$ is mole fraction of A) and then I calculated vapour pressure for A and B in vapour phase which came out to be $0.1$ and $0.9$ respectively, so the amount remaining in the liquid phase will be $\pu{0.9 mole}$ for A and $\pu{0.1 mole}$ for B, according to which the $P_\mathrm{S}$ should be $\pu{180 torr}$, but the answer provided is $\pu{300 torr}$, am I missing something? (also see the image below for better understanding of my approach).
Any help is appreciated! Thanks in advance!