Read the given passage carefully and answer the following questions.
The constituents of a heterogeneous mixture are X, Y and Z. If mixture containing X and Y is taken, X can be separated using magnetic separation from Y. If mixture containing Y and Z is taken, the two can be separated using evaporation method.
The different states of X, Y and Z respectively are -
A Solid, Solid, Liquid
B Solid, Liquid, Solid
C All are liquids
D All are solids.