algorithm
 
Socks