8 lines
88 B
Python
8 lines
88 B
Python
|
import re
|
||
|
|
||
|
s = input()
|
||
|
s = re.sub(r"WUB*", " ", s)
|
||
|
s = ' '.join(s.split(' '))
|
||
|
|
||
|
print(s)
|