{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ch1\u003e\u003cbr clear\u003d\"ALL\"\u003e\n \u003ccenter\u003e\n \u003ctable bgcolor\u003d\"#0060F0\"\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cb\u003e\u003cfont size\u003d\"5\" color\u003d\"#C0FFFF\"\u003e\u0026nbsp;\u003ca name\u003d\"SECTION0001000000000000000000\"\u003ePalinwords\u003c/a\u003e\u003c/font\u003e\u0026nbsp;\u003c/b\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n \u003c/table\u003e\n \u003c/center\u003e\u003c/h1\u003e\n\u003cp\u003eA palindrome is a string of characters which can be read forward and backward and still result in the same word, e.g. `\u003ctt\u003emumdadmum\u003c/tt\u003e\u0027. So by definition the empty string, all strings containing 1 character, and all strings containing 2 equal characters are palindromes. The length of a palindrome is the number of characters in the palindrome.\u003c/p\u003e\n\u003cp\u003eA \u003ci\u003epalinword\u003c/i\u003e is a string of characters that contains at least 2 different palindromes each with a length of at least 3. (Here the position is immaterial: the same palindrome occurring in another position is not considered as different.) Neither of these 2 palindromes may be embedded in the other palindrome (for example the palindrome `\u003ctt\u003emum\u003c/tt\u003e\u0027 is embedded in the palindrome `\u003ctt\u003eamuma\u003c/tt\u003e\u0027, and `\u003ctt\u003eaaa\u003c/tt\u003e\u0027 is embedded in `\u003ctt\u003eaaaa\u003c/tt\u003e\u0027) but they may partially overlap. Also see the examples below.\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003cp\u003eYour program\u0027s task is to copy only the palinwords from the input file to the output file.\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003ch2\u003e\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001001000000000000000\"\u003eInput\u003c/a\u003e\u003c/font\u003e\u003c/h2\u003e\n\u003cp\u003eThe input for your program is a textfile. Each line in this file is empty or consists of one or more words (uppercase letters `\u003ctt\u003eA\u003c/tt\u003e\u0027 through `\u003ctt\u003eZ\u003c/tt\u003e\u0027 only) separated by one or more spaces (each line in the input file contains at most 255 characters in all).\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003ch2\u003e\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001002000000000000000\"\u003eOutput\u003c/a\u003e\u003c/font\u003e\u003c/h2\u003e\n\u003cp\u003eThe output file is a textfile and must have one palinword per line in order of occurrence in the input file.\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003ch2\u003e\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001003000000000000000\"\u003eSample Input\u003c/a\u003e\u003c/font\u003e\u003c/h2\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003cpre\u003eMOEILIJKHEDEN INVOER\nVERNEDEREN\nAMUMA AMAMA MUMMUM\nAMATRAMA AAAA\nABATRABAR\nDUMMY\nWORDS\u003c/pre\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003ch2\u003e\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001004000000000000000\"\u003eSample Output\u003c/a\u003e\u003c/font\u003e\u003c/h2\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003cpre\u003eMOEILIJKHEDEN\nVERNEDEREN\nAMAMA\nMUMMUM\u003c/pre\u003e\n\u003cp\u003e\u003c/p\u003e"}}]}