EasyRating 1000
Palindrome Words
Count the words in the sentence that are palindromes, ignoring letter case.
Input
One line of words.
Output
One integer.
Sample 1
Input
Anna saw a racecar at noon
Output
4
Sample 2
Input
hello world
Output
0
Output appears here