Six friends, A, B, C, D, E and F are sitting in two rows, three in each. D is not at the end of any