This jigsaw is used by Japanese employers instead of interviews. Would you be employed in Japan?

We suggest you pass a small, but very ingenious test. Many Japanese employers use it as an alternative to standard interviews. So, look at the picture: the people on the shore and the raft. Purpose: You must transfer the whole group to the other side. But!..

... subject to 4 conditions:
  1. The raft carries only two people and does not move idly.
  2. Children can not drive a raft without adults.
  3. A man can not leave his sons alone with a woman or send one of them with her. The same rule is true in the opposite respect - with a woman and daughters.
  4. The offender can not be with any of the company without the escort of the sheriff.

Solution Algorithm

To those who managed - applause! For the most curious and impatient - the algorithm for solving the puzzle: