Statement | You are given pairs of two '|'s with a nonnegative number of spaces between them, which are separated by ','. Replace it with the pair of two '|'s with the smallest number of spaces between them. Constraints * For each pair, the number of spaces between the two '|'s does not exceed 10. * The number of ','s does not exceed 4. |
---|---|
Sample Input | |
Sample Output |