Five people want to get to the other side of a river,
but each of them dislikes his immediate neighbors.
The first person dislikes the second and the fifth;
the second person dislikes the first and the third;
the third person dislikes the second and the fourth;
the fourth person dislikes the third and the fifth;
and the fifth person dislikes the fourth and the first.
Rules:
1) The raft can hold a maximum of two people.
2) If two people dislike each other, they refuse to be either on the raft together or on the same bank together without any other person.
How can they all get to the other side?