while(1>0)print(readLine replaceAll(" +([^wBb])","$1"))