import java.util.*;
import java.lang.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		String temp;
        Scanner sc = new Scanner(System.in);
        
        while(sc.hasNextLine()) {
            temp = sc.nextLine();
            String[] strs = temp.split(",");
            for (int i = 0; i < strs.length; ++i) {
                System.out.println(strs[i]);
            }
            System.out.println("===========================================");
        }
	}
}