You need to complete the maze by entering from the entrance marked below in the figure near the yellow circle, bottom left and leaving from the exit point near the green circle, bottom middle.
Rule of Game: You can move only by exchanging green and yellow circles.
Jack have ten pairs of black socks, eight pairs of white socks and seven pairs of green socks. Everything is mixed in a draw. As there is no light he were not able to identify the colour of the socks. How many of the socks did he want to take to match one pair