{"trustable":true,"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\u003eVasya works as a DJ in the best Berland nightclub, and he often uses dubstep music in his performance. Recently, he has decided to take a couple of old songs and make dubstep remixes from them.\u003c/p\u003e\u003cp\u003eLet\u0027s assume that a song consists of some number of words. To make the dubstep remix of this song, Vasya inserts a certain number of words \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" before the first word of the song (the number may be zero), after the last word (the number may be zero), and between words (at least one between any pair of neighbouring words), and then the boy glues together all the words, including \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\", in one string and plays the song at the club.\u003c/p\u003e\u003cp\u003eFor example, a song with words \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eI AM X\u003c/span\u003e\" can transform into a dubstep remix as \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUBWUBIWUBAMWUBWUBX\u003c/span\u003e\" and cannot transform into \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUBWUBIAMWUBX\u003c/span\u003e\".\u003c/p\u003e\u003cp\u003eRecently, Petya has heard Vasya\u0027s new dubstep track, but since he isn\u0027t into modern music, he decided to find out what was the initial song that Vasya remixed. Help Petya restore the original song.\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003eThe input consists of a single non-empty string, consisting only of uppercase English letters, the string\u0027s length doesn\u0027t exceed \u003cspan class\u003d\"tex-span\"\u003e200\u003c/span\u003e characters. It is guaranteed that before Vasya remixed the song, no word contained substring \"\u003cspan class\u003d\"tex-font-style-tt\"\u003eWUB\u003c/span\u003e\" in it; Vasya didn\u0027t change the word order. It is also guaranteed that initially the song had at least one word.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003ePrint the words of the initial song that Vasya used to make a dubsteb remix. Separate the words with a space.\u003c/p\u003e"}},{"title":"Examples","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003eWUBWUBABCWUB\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eABC \u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003eWUBWEWUBAREWUBWUBTHEWUBCHAMPIONSWUBMYWUBFRIENDWUB\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eWE ARE THE CHAMPIONS MY FRIEND \u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"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\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"}}]}