you give array integer Vasya permute change order integer he want possible integer place small integer stand help Vasya find maximal number integersfor instance give array 10 20 30 40 permute 20 40 10 30 then second position integer large 2010 4020 fourth permutation number Vasya want maximize equal 2 read note example demonstrative test caseHelp Vasya permute integer way number position new array integer great original maximal