Update 1542 - Yet Another Permutations Problem.cpp