#C1. Count Palindrome Words

    ID: 39154 Type: Default 1000ms 256MiB

Count Palindrome Words

Count Palindrome Words

Given a list of words, your task is to count how many of these words are palindromes. A palindrome word is defined as a word that reads the same backward as forward. For example, "level", "radar", and "civic" are palindromes.

You will be given an integer n followed by n words. Print the count of words that are palindromes.

Note: A single character word is always considered a palindrome.

inputFormat

The first line contains an integer n denoting the number of words.

The second line contains n space-separated words.

outputFormat

Output a single integer, which is the count of palindrome words.

## sample
3
level rotor civic
3

</p>