{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv\u003e\n A PALINDROME is a string of one or more characters which is is the same when you read it either from left to right or from right to left. As a WORD we will consider consecutive string of digits or letters of english alphabet (either uppercase or lowercase). WORD is separated from another with one or more blank spaces or some interpunction signs (other characters which are neither digits nor letters).\n\u003c/div\u003e\u003cbr\u003e\n\u003cdiv style\u003d\"background-color:#FEE;\"\u003e\n \u003cb\u003eINPUT:\u003c/b\u003e\u003cbr\u003eFirst and only line on standard input have string of characters no bigger then 4 MB (4*2^20 characters). All the characters will be digits, letters or interpunction signs.\n\u003c/div\u003e\u003cbr\u003e\n\u003cdiv style\u003d\"background-color:#EEF;\"\u003e\n \u003cb\u003eOUTPUT:\u003c/b\u003e\u003cbr\u003eTo the first and only line on standard output, you need to output one integer representing the number of PALINDROME WORDs in input data.\n\u003c/div\u003e\u003cbr\u003e\n\u003cdiv style\u003d\"background-color:#EEE;\"\u003e\n \u003cbr\u003eInput:\u003cbr\u003e\n \u003cdiv style\u003d\"font-family:Monospace, Courier;\"\u003e\n \u003cb\u003eI\u0027m excited with my dad\u0027s 111 solved problems on Z-trening!\u003c/b\u003e\n \u003c/div\u003e\u003cbr\u003eOutput:\u003cbr\u003e\n \u003cdiv style\u003d\"font-family:Monospace, Courier;\"\u003e\n \u003cb\u003e6\u003c/b\u003e\n \u003c/div\u003e\u003cbr\u003eExplanation: 6 palindromes here are \"I\", \"m\", \"dad\", \"s\", \"111\" and \"Z\".\u003cbr\u003e\n\u003c/div\u003e\u003cbr\u003e\n\u003cdiv style\u003d\"background-color:#EEE;\"\u003e\n \u003cbr\u003eInput:\u003cbr\u003e\n \u003cdiv style\u003d\"font-family:Monospace, Courier;\"\u003e\n \u003cb\u003eWoow! My new user name here is \u0027Oduleludo\u0027 and password is \u0027MM666MM\u0027 but I will not give it anyone . \u003c/b\u003e\n \u003c/div\u003e\u003cbr\u003eOutput:\u003cbr\u003e\n \u003cdiv style\u003d\"font-family:Monospace, Courier;\"\u003e\n \u003cb\u003e4\u003c/b\u003e\n \u003c/div\u003e\u003cbr\u003eExplanation: 4 palindromes here are \"Woow\", \"Oduleludo\", \"MM666MM\" and \"I\".\u003cbr\u003e\n\u003c/div\u003e\u003cbr\u003e"}}]}