Correct answer for Sherlock and Squares