#include #include #include bool isPalindrome[2500][2500]; char str[2501]; int dp[2500]; int main() { scanf("%s", str); int length = strlen(str); isPalindrome[0][0] = true; for(int i=1; i