Sock-Sentimental Algorithm

Input: Sock count (1-20)