Pasha get beautiful string s birthday string consist lowercase latin letter the letter string number 1 s left right s length give stringPasha do not like present decide change after birthday Pasha spend m day perform follow transformation stringeach day choose integer ai reverse piece string segment position ai position sai1 it guarantee 2aisyou face follow task determine Pashas string look like m day