p=open(0).read() for c in p:u='u'*(c=='w');print(u*(p!=c)+c,end=u);p=c