char* firstPalindrome(char** words, int wordsSize) {
int t=0;
for(int i=0;i<wordsSize;i++)
{
int left=0;
int right=strlen(words[i])-1;
int flag=0;
while(left<right)
{
if(words[i][left]!=words[i][right])
{
flag++;
break;
}
if(left<right)
{
left++;
right--;
}
}
if(flag==0)
{ t++;
return words[i];
}
}
char*good=(char*)malloc(sizeof(char));
good[0]='\0';
return good;
}