Swap the neighbours (#124) - Azerbaijan Computing Olympiad