little Nastya hobby like remove letter word obtain word but turn pretty hard young Therefore brother Sergey help herSergey give Nastya word t want word p Nastya remove letter certain order order strictly specify permutation letter indice word t a1 we denote length word x x note remove letter index letter do not change for example tnastya a415326 removal follow sequence word nastya nastya nastya nastya nastya nastya nastyaSergey know permutation his goal stop sister point continue remove word p since Nastya like activity Sergey want stop late possible your task determine letter Nastya remove stop SergeyIt guarantee word p obtain remove letter word t