[SRM337] Palindromize2 by Kaiyang Lv