{"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":"HTML","content":"\u003cp\u003e众所周知,双拼是一种非常高效的打字手段,因为使用双拼,**您只需按两次键即可输入任何中文单词**。\u003c/p\u003e\n\u003ccenter\u003e\n 表\n \u003ctable class\u003d\"tex-tabular\"\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003e拼音\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003e双拼\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003e拼音\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003e双拼\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eq, iu\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eq\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ef, en\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ef\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ew, ei\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ew\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eg, eng\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eg\u003c/td\u003e\n \u003c/tr\u003e\n\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003er, uan\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003er\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ej, an\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ej\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ee\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ee\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eh, ang\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eh\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003et, ue\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003et\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ek, uai, ing\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ek\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ey, un\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ey\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003el, uang, iang\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003el\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eu, sh\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eu\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ez, ou\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ez\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ei, ch\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ei\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ex, ia, ua\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ex\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eo, uo\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eo\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ec, ao\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ec\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ep, ie\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ep\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ev, zh, ui\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ev\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ea\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ea\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eb, in\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003eb\u003c/td\u003e\n \u003c/tr\u003e\n\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ed, ai\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003ed\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003em, ian\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003em\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003es, ong, iong\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003es\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003en, iao\u003c/td\u003e\n \u003ctd class\u003d\"tex-tabular-border-left tex-tabular-text-align-left tex-tabular-border-right tex-tabular-border-top tex-tabular-border-bottom\"\u003en\u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n \u003c/table\u003e \n\u003c/center\u003e\n\u003cp\u003e$Cold$ 最近在研究双拼打字 ,现在想请你帮忙将给定的句子以双拼的方式输出。比如说, \"ni hao shi jie\"那么你需要输出的是,\"ni hc ui jp\"。\u003c/p\u003e\n\u003cp\u003e$Tips:$\u003c/p\u003e\n\u003cul\u003e \n \u003cli\u003e对于长度为 $1$ 的拼音,为了满足双拼的语法要求,你应该输出两个相同的该字符。 \u003c/li\u003e\n \u003cli\u003e 对于长度为 $2$ 的拼音,不作改动,直接输出该拼音\n\n\u003c/li\u003e\n \u003cli\u003e对于像 $ang$ 这样的拼音,你应该先输出他的第一个字母,然后在表格中查找整个拼音以获得第二个键。\n\nex. (\"ang\" 会变成\"ah\")\u003c/li\u003e\n \u003cli\u003e 为简化起见,任何输入中都没有字符 $v$ \u003c/li\u003e\n\u003c/ul\u003e\n"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e有多个测试用例。 每行包含一个。数据保证测试用例个数不超过$1000$个,\u003c/p\u003e\n\u003cp\u003e每一行都是由空格分隔的拼音序列。\n\n\u003c/p\u003e\n\u003cp\u003e数据保证测试用例个数不超过$1000$个, 一个测试用例的拼音个数不超过 $500$ 个,所有测试用例的拼音个数不超过 $5000$ 个。 \u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e由空格分隔的双拼序列。\u003c/p\u003e"}},{"title":"Examples","value":{"format":"HTML","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\u003erua\nni xian qi po lan\nrang wo men dang qi shuang jiang\ncha na zhua zhu le wei lai\nzhe ti mian shen me wan yi\n\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\u003erx\nni xm qi po lj\nrh wo mf dh qi ul jl\nia na vx vu le ww ld\nve ti mm uf me wj yi\n\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\u003eni you ben shi na lai mai a\nwo e le wo men chi shen me\nang yang de dou zhi\n\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\u003eni yz bf ui na ld md aa\nwo ee le wo mf ii uf me\nah yh de dz vi\n\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}}]}