Answer
At the beginning everyone stays at side A and want to go to side B together.
- Man takes chicken to side B.
- Man comes back to side A alone.
- Man takes fox to side B.
- Man takes chicken to side A.
- Man takes corn to side B.
- Man comes back to side A alone.
- Man takes chicken to side B.
They all reached the side B.