Whitespace-separated values matrix to CSV vector

Input

Output