hackerrank pairs problem solution

visit shbcf.ru