Oleksandr Kulkov's submission of Matchable Permutations | CodeChef