40.
6 persons A, B, C, D, E and F are sitting in a row facing north (not necessarily in the same order). A is the immediate neighbour of D and F. F is the immediate neighbour of E and A. B is in the second position from the right end. If D is not at any of the ends, then how many persons are sitting towards the left of D?