TopCoder SRM 428 DIV 2 ThePalindrome