Removed spaces inside money array and moved it directly to the logic that creates the result string