Given a sentence in an unknown language, we will call a word in this sentence a champion if it is a palindrome and its number of letters is maximal. The letters of the alphabet in the unknown language are the letters of the Latin alphabet and Arabic numerals. It is guaranteed that the sentence contains no other characters except letters, spaces, punctuation marks, and non-letter hyphens (minus) and apostrophes.
A sentence in the unknown language.
The number of the champion word.
Example 1
Example 3