import java.util.Scanner;
public class Main{
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
String str = scan.nextLine();
int i = str.indexOf(",");
int j = str.indexOf("=");
String str1=str.substring(j+1,i);
String str2=str.substring(i+3);
System.out.println("a="+str2+","+"b="+str1);
}
}