sherlock and array solution

visit shbcf.ru