[SRM428] ThePalindrome by Yanzhe Chen