Problem: Vasya 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.

Let's 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 "WUB" 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 "WUB", in one string and plays the song at the club.

For example, a song with words "I AM X" can transform into a dubstep remix as "WUBWUBIWUBAMWUBWUBX" and cannot transform into "WUBWUBIAMWUBX".

Recently, Petya has heard Vasya's new dubstep track, but since he isn't into modern music, he decided to find out what was the initial song that Vasya remixed. Help Petya restore the original song.

Input

The input consists of a single non-empty string, consisting only of uppercase English letters, the string's length doesn't exceed 200 characters. It is guaranteed that before Vasya remixed the song, no word contained substring "WUB" in it; Vasya didn't change the word order. It is also guaranteed that initially the song had at least one word.

Output

Print the words of the initial song that Vasya used to make a dubsteb remix. Separate the words with a space.

Examples

Input

WUBWUBABCWUB


Output

ABC 

Input

WUBWEWUBAREWUBWUBTHEWUBCHAMPIONSWUBMYWUBFRIENDWUB


Output

WE ARE THE CHAMPIONS MY FRIEND 

Note

In the first sample: "WUBWUBABCWUB" = "WUB" + "WUB" + "ABC" + "WUB". That means that the song originally consisted of a single word "ABC", and all words "WUB" were added by Vasya.

In the second sample Vasya added a single word "WUB" between all neighbouring words, in the beginning and in the end, except for words "ARE" and "THE" — between them Vasya added two "WUB".

Solution (in PYTHON3):

Solution:
# n = int(input())
# a = [1]
# for i in range(n):
#     print(*a)
#     a = [1] + [a[j] + a[j + 1] for j in range(i)] + [1]

#a = 1
#n = int(input())
#for i in range(2, n):
#    if n % i == 0:
#        a = 0
#        break
#if a == 0:
#    print("I am way to dumb to get an answer correctly")
#    print("NO")
#else:
#    print("YES")
#    print("I am way to dumb to get an answer correctly")

#a = [int (x) for x in input().split()]
#for i in range(len(a) - 1 , -1, -1):
#    print(a[i], end = " ")


#a = [int (x) for x in input().split()]
#if len(a) % 2 == 0 :
#    for i in range (len(a) // 2 -1, -1, -1):
#        print(a[i], end = " ")
#    for j in range (len(a)//2, len(a)):
#        print(a[j], end = " ")
#else:
#    for i in range (len(a) // 2, -1, -1):
#        print(a[i], end = " ")
#    for j in range (len(a)//2, len(a)):
#        print(a[j], end = " ")

#b = []
#c = []
#a = [int (x) for x in input().split()]
#for i in range(len(a)):
#    if i % 2 == 0:
#        b.append (a[i])
#    else:
#        c.append (a[i])
#c.reverse()
#print(*b, end = " ")
#print(*c, end = " ")




#b = 1
#n = int(input())
#a = [int(x) for x in input().split()]
#for i in range(len(a)):
#    if a[i] == n:
#        b = 0
#        break
#if b == 0:
#    print( i + 1 , sep="\n")
#else:
#    print(-1)




#left = 0
#k = int(input())
#a = [int(x) for x in input().split()]
#right = len(a)
#while right - left > 1:
#    middle = (right + left) // 2
#    if k < a[middle]:
#        right = middle
#    else:
#        left = middle
#if a[left] == k:
#    print(left + 1)
#else:
#    print(-1)

#a = input()
#for i in range(0, len(a)):
#    if (i + 1) % 3 != 0:
#        print(a[i], end = " ")
#a = input()

#for i in range(0, len(a)):
#    if (i + 1) % 3 == 0 or (i + 1) % 2 == 0:
#        print(a[i], end = " ")


#print([int(elem) for i, elem in enumerate(input().split()) if i % 3 != 0])

#class Cat:
#    def __init__(self, face, paws, whiskers, belly, what_they_like, pawsonality):
#        self.face = face
#        self.paws = paws
#        self.whiskers = whiskers
#        self.belly = belly
#        self.what_they_like = what_they_like
#        self.pawsonality = pawsonality
#    def __str__(self):
#        return "face: {}\npaws: {}".format( self.face, self.paws, self.whiskers, self.belly, self.what_they_like, self.pawsonality)
#Tyson = Cat(1, 4, 18, 3.5, ["water", "food", "ropes", "blankets"], "playful, stubborn, sleepy")
#print(Tyson)

#a = list(input())
#b = list(reversed(a))
#if a == b:
#    print("YES")
#else:
#    print("NO")

#meow

#countmeow = 0
#a = list(input())
#b = list(reversed(a))
#for i in range(len(a)):
#    if a[i] != b[i]:
#        countmeow = countmeow + 1
#if countmeow == 0 and len(a) % 2 != 0:
#    print("YES")
#elif countmeow == 2:
#    print("YES")
#else:
#    print("NO")

#input()
#letmeowchange = 0
#num = input()
#a = dict()
#if len(num) > 26:
#    print(-1)
#else:
#    for letter in num:
#        if letter in a:
#            a[letter] += 1
#        else:
#            a[letter] = 1
#    for letter in a:
#        letmeowchange += a[letter]-1
#    print(letmeowchange)

#print(round(sum([float(i) for i in input().split()]), 1))


#a = [int(i) for i in input().split()]
#b = [int(j) for j in input().split()]
#for i in zip(b, a):
#    print(*i, end = " ")

#print([int(-i) if i%2==0 else int(i) for i in range(1,int(input()) + 1)])

#cb = input()
#bc = [int(i) for i in input().split()]
#a = {elem1: elem2 for elem1, elem2 in zip(cb, bc)}
#print(a)


#b = 0
#for i in range(10, 100):
#    if i % 5 != 0 and i % 7 != 0:
#        b = b + 1
#print(b)

#a = int(input())
#b = " that I hate"
#c = " that I love"
#print("I hate", end = "")
#for i in range(a - 1):
#    if i % 2 == 0:
#       print(c, end = "")
#    else:
#        print(b, end = "")
#print(" it")

#a = int(input())
#b = [int(input()) for i in range(a)]
#c = b[0]
#d = 0
#for i in b[1::]:
#    if i != c:
#        d = d + 1
#        c = i
#print(d + 1)

#input()
#letmeowchange = 0
#num = input()
#a = dict()
#if len(num) > 26:
#    print(-1)
#else:
#    for letter in num:
#        if letter in a:
#            a[letter] += 1
#        else:
#            a[letter] = 1
#    for letter in a:
#        letmeowchange += a[letter]-1
#    print(letmeowchange)

#from math import ceil
#a = int(input())
#b = [int(i) for i in input().split()]
#c = sum(b)
#
#d = {1:0, 2:0, 3:0, 4:0}
#total = 0
#r2 = 0
#for i in b:
#    if i in d:
#        d[i] += 1
#    else:
# d[i] = 1
#total = total + d[4]
#total = total + d[3]
#total = total + (d[2] // 2)
#r2 = d[2] % 2
#if r2 != 0:
#    d[1] = d[1] - 2
#    total = total + 1
#if d[1] > d[3]:
#    total += ceil((d[1] - d[3]) / 4)
#print(total)

#n = int(input())
#a = [int(i) for i in input().split()]
#print(*sorted(a))

#s = list(input())
#t = list(input())
#a = list(reversed(s))
#if t == a:
#    print("YES")
#else:
#    print("NO")

#a = input().split()
#b = 0
#c = 0
#d = dict()
#for letter in a:
#    if letter in d:
#        d[letter] += 1
#    else:
#       d[letter] = 1
#for value in d.values():
#    if value % 2 != 0:
#        c = c + 1
#if c > 1:
#    print("NO")
#else:
#    print("YES")


#n = input()
#a = [int(i) for i in n]
#b = 0
#for i in a:
#    if i == 4 or i == 7:
#        b = b + 1
#if b == 4 or b == 7:
#    print("YES")
#else:
#    print("NO")


#n = input()
#a = [int(i) for i in n]

#b = 0
#c = 0
#a = "abcdefgthijklmnopqrstuvwxyz"
#s = input()
#for i in s:
#    if i in a:
#        b = b + 1
#    else:
#c = c + 1
#if b == c or b > c:
#    print(s.lower())
#else:
#    print(s.upper())



#b = 0
#k = int(input())
#l = int(input())
#m = int(input())
#n = int(input())
#d = int(input())
#for i in range(1, d + 1):
#    if i % k == 0:
#       b = b + 1
#   elif i % l == 0:
#       b = b + 1
#   elif i % m == 0:
#       b = b + 1
#   elif i % n == 0:
#       b = b + 1
#print(b)


#n = int(input())
#a = [int(i) for i in input().split()] + [9999999999]
#for i in range(n):


a = input().split("WUB")
for i in a:
    if i != '':
        print(i , end = " ")