Task completed for TD-3718(Spaces inserted inside square brackets in reversal)