{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"MD","content":"\u003cp\u003eMr. Kedia as given you a string \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003eS\u003c/i\u003e\u003c/span\u003e consisting of only lowercase letters. Your task is to insert exactly one lowercase English letter into \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003es\u003c/i\u003e\u003c/span\u003e to make it a palindrome. A \u003cspan class\u003d\"tex-font-style-it\"\u003epalindrome\u003c/span\u003e is a string that reads the same forward and backward. For example, \"\u003cspan class\u003d\"tex-font-style-tt\"\u003ereviver\u003c/span\u003e\", \"\u003cspan class\u003d\"tex-font-style-tt\"\u003emadam\u003c/span\u003e\" and \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eb\u003c/span\u003e\" are all palindromes, while \"\u003cspan class\u003d\"tex-font-style-tt\"\u003ecase\u003c/span\u003e\" and \"\u003cspan class\u003d\"tex-font-style-tt\"\u003ekedia\u003c/span\u003e\" are not.\u003c/p\u003e\n\n\u003cp\u003eYou can choose any alphabet and insert it into any position to make the word palindrome.Even is the word is already palindrome you have to insert a english letter.\u003c/p\u003e\n\n\u003cp\u003e Find the resultant string and print it and if not possible then print \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eNA\u003c/span\u003e\"(without quotes, case-sensitive). If there are more than one output print any one of them.\n\u003c/p\u003e"}},{"title":"Input","value":{"format":"MD","content":"\u003cp\u003eThe only line of the input contains a string \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003es\u003c/i\u003e\u003c/span\u003e (\u003cspan class\u003d\"tex-span\"\u003e1 ≤ |\u003ci\u003es\u003c/i\u003e| ≤ 10\u003c/span\u003e). Each character in \u003cspan class\u003d\"tex-span\"\u003e\u003ci\u003es\u003c/i\u003e\u003c/span\u003e is a lowercase English letter.\u003c/p\u003e"}},{"title":"Output","value":{"format":"MD","content":"\u003cp\u003e Find the resultant string and print it and if not possible then print \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eNA\u003c/span\u003e\"(without quotes, case-sensitive). If there are more than one output print any one of them.\n\u003c/p\u003e"}},{"title":"Examples","value":{"format":"MD","content":"\u003cdiv class\u003d\"sample-test\"\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003erevive\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003ereviver\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003eee\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003eeye\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003ekitayuta\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003eNA\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}},{"title":"Note","value":{"format":"MD","content":"\u003cp\u003ecase 1: \u0027r\u0027 is being inserted in \"\u003cspan class\u003d\"tex-font-style-tt\"\u003erevive\u003c/span\u003e\" to make the word palindrome.\u003c/p\u003e\n\u003cp\u003ecase 2: There is many solutions . you can print any one of them.\u003c/p\u003e\n\u003cp\u003ecase 3: It is not possible to make it palindrome just by inserting one english letter.\u003c/p\u003e"}}]}