Ten people sit in two parallel rows at an equidistant. M, N, O, P and Q sit in row 1 facing towards south while H, I, J, K and L sit in row 2 facing towards north, but not necessarily in the same order.
Each person sitting in row 1 faces the other person sitting in row 2.
They like colours viz., Red, Green, Pink, Yellow and Grey, such that only two people like each colour.
People facing in the same direction do not like the same colour.
People who like Red colour sit neither at any extreme ends nor exactly middle of rows.
J sits second to the left of I.
People who like Red and Green colours are neighbours of I.

O, who likes green colour, sits third to the left of N.
People facing each other do not like the same colour.


L sits second to the left of K.
People who like Red colour sit neither at any extreme ends nor exactly middle of rows.

K and P like the same colour. Thus, case 1 and case 2a are invalid.

M likes yellow colour and sits towards the right side of a person who liked grey colour.

H do not like yellow colour.
Therefore, the final arrangement is:

Four persons are sitting to the right of a person who likes the yellow colour in row 2.