//Written by MA Saleh

//Check your word is polindrome?

#include<stdio.h>

#include<string.h>

int main()

{

    int i, j, m, length;

    char word[50];

    scanf("%s", &word);

    length = strlen(word);

    m = length/2;

    for(i = m, j = length - m-1; i>0; i--,j++)

    {

        if(word[i] != word[j])

        {

            printf("%s is not a polindrome word", word);

            break;

        }

    }

    if(word[i] == word[j])

    {

        printf("%s is a polindrome word", word);

    }

else
    {
        printf("%s is not a polindrome word", word);
    }

    return 0;

    //copyright@MAS

}


Sample Input: madam, you


Sample Output: