Solution of Sherlock and squares - weekly11