{"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":"\u003cstyle type\u003d\u0027text/css\u0027\u003e .input, .output {border: 1px solid #888888;} .output {margin-bottom:1em;position:relative;top:-1px;} .output pre,.input pre {background-color:#EFEFEF;line-height:1.25em;margin:0;padding:0.25em;} .title {background-color:#FFFFFF;border-bottom: 1px solid #888888;font-family:arial;font-weight:bold;padding:0.25em;} \u003c/style\u003e \u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027]], displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027]]}\n });\n \u003c/script\u003e\n \u003cscript type\u003d\"text/javascript\" async\n src\u003d\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\"\u003e\n \u003c/script\u003e\n\u003cp\u003eVasya在贝特伯兰夜总会当DJ,他经常在表演中使用dubstep音乐。最近,他决定拿几首老歌,用它们做dubstep混音。\n\u003c/p\u003e\n\u003cp\u003e让我们假设一首歌由一些单词组成。为了让这首歌重新混音,Vasya在歌曲的第一个单词之前,在最后一个单词之后,以及单词之间(任何一对相邻单词之间至少有一个)插入一定数量的单词“WUB”,然后将所有单词粘在一起,包括“WUB”,在一根弦上演奏这首歌。\n\u003c/p\u003e\n\u003cp\u003e例如,一首带有\"I AM X\"的歌曲可以转换为dubstep混音,即\"WUBWUBIWUBAMWUBWUBX\",而不能转换为\"WUBWUBIAMWUBX\"。\n\u003c/p\u003e\n\u003cp\u003e最近,Petya听了Vasya的新dubstep曲目,但由于他不喜欢现代音乐,他决定找出Vasya重新混音的最初歌曲是什么。帮助彼佳恢复原曲。\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e输入由单个非空字符串组成,仅由大写英文字母组成,字符串长度不超过200个字符。可以肯定的是,在Vasya重新混音这首歌之前,没有任何单词包含子串“WUB”;Vasya没有改变词序。它也保证最初的歌曲至少有一个词。\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e打印出Vasya用来制作dubsteb混音的歌的歌词。用空白符隔开单词。\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\u003eWUBWUBABCWUB\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\u003eABC \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\u003eWUBWEWUBAREWUBWUBTHEWUBCHAMPIONSWUBMYWUBFRIENDWUB\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\u003eWE ARE THE CHAMPIONS MY FRIEND \u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}},{"title":"Note","value":{"format":"HTML","content":"\u003cp\u003eIn the first sample: \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUBWUBABCWUB\u003c/span\u003e\" \u003d \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" + \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" + \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eABC\u003c/span\u003e\" + \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\". That means that the song originally consisted of a single word \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eABC\u003c/span\u003e\", and all words \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" were added by Vasya.\u003c/p\u003e\n\u003cp\u003eIn the second sample Vasya added a single word \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" between all neighbouring words, in the beginning and in the end, except for words \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eARE\u003c/span\u003e\" and \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eTHE\u003c/span\u003e\" — between them Vasya added two \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\".\u003c/p\u003e"}}]}