Petr Mitrichev's submission of Subanagrams | CodeChef