Just one change I need.

If I input
MCB and repeat 1 time

then
hbl and repeat 5 times

The mcb value is over written.

I need it so that the value is not replaced