import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        int i = str.indexOf(',');
        System.out.printf("a=%s,b=%s", str.substring(i + 3), str.substring(2, i));
    }
}