Medium
Split on Several Separators
Split the line on commas, semicolons, pipes or spaces (any mix, any number) and print the pieces one per line, skipping empty ones.
Input
One line.
Output
Lines.
Sample 1
Input
rice, eggs;tea | milk
Output
rice eggs tea milk
Sample 2
Input
single
Output
single
Output appears here