Loop the data already received on the serial monitor

The data received in the serial monitor is generated by the code running on the Arduino (code you haven't shared with us).

What's the problem?