Abby's Sock Solution