final solution on socks

The last solution needed on the question for socks.