import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	}
	
	public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	}
	
	
	

	
	
	
	
	
	public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	}
	
	public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	}
	
	
	

	
	
	
	
	
	public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	}

} Main public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	} main {
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String ABCD = scan.next(); ABCD scan.next() scan.next scan int []keisancount = new int[1]; keisancount new int[1] 1 keisancount[0] =0 keisancount[0] keisancount 0 0 tashihiki(ABCD,"+",ABCD.length(),keisancount) tashihiki ABCD "+" ABCD.length() ABCD.length ABCD keisancount tashihiki(ABCD,"-",ABCD.length(),keisancount) tashihiki ABCD "-" ABCD.length() ABCD.length ABCD keisancount String[]args args public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	} keisan {
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	} int goukei = 0; goukei 0 goukei += Integer.valueOf(shiki.substring(0, 1)) goukei Integer.valueOf(shiki.substring(0, 1)) Integer.valueOf Integer shiki.substring(0, 1) shiki.substring shiki 0 1 for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		} int i = 0; int i = 0; i 0 i<shiki.length()-1 i shiki.length()-1 shiki.length() shiki.length shiki 1 i++ i++ i {
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		} {
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		} if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			} shiki.substring(i, i+1).equals("+") shiki.substring(i, i+1).equals shiki.substring(i, i+1) shiki.substring shiki i i+1 i 1 "+" {
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			} goukei += Integer.valueOf(shiki.substring(i+1, i+2)) goukei Integer.valueOf(shiki.substring(i+1, i+2)) Integer.valueOf Integer shiki.substring(i+1, i+2) shiki.substring shiki i+1 i 1 i+2 i 2 if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			} shiki.substring(i, i+1).equals("-") shiki.substring(i, i+1).equals shiki.substring(i, i+1) shiki.substring shiki i i+1 i 1 "-" {
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			} goukei -= Integer.valueOf(shiki.substring(i+1, i+2)) goukei Integer.valueOf(shiki.substring(i+1, i+2)) Integer.valueOf Integer shiki.substring(i+1, i+2) shiki.substring shiki i+1 i 1 i+2 i 2 return goukei; goukei String shiki shiki public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	} tashihiki {
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	} if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		} mojiretu ==2 mojiretu 2 {
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		} if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			} tashihiki.equals("+") tashihiki.equals tashihiki "+" {
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			} String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()); kekka S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1) S.substring S 0 mojiretu-1 mojiretu 1 "+" S.substring(mojiretu-1, S.length()) S.substring S mojiretu-1 mojiretu 1 S.length() S.length S if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				} keisan(kekka)==7&&keisancount[0]==0 keisan(kekka)==7 keisan(kekka) keisan kekka 7 keisancount[0]==0 keisancount[0] keisancount 0 0 {
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				} System.out.println(kekka+"=7") System.out.println System.out System System.out kekka+"=7" kekka "=7" keisancount[0]=1 keisancount[0] keisancount 0 1 if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			} tashihiki.equals("-") tashihiki.equals tashihiki "-" {
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			} String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()); kekka2 S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1) S.substring S 0 mojiretu-1 mojiretu 1 "-" S.substring(mojiretu-1, S.length()) S.substring S mojiretu-1 mojiretu 1 S.length() S.length S if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				} keisan(kekka2)==7&&keisancount[0]==0 keisan(kekka2)==7 keisan(kekka2) keisan kekka2 7 keisancount[0]==0 keisancount[0] keisancount 0 0 {
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				} System.out.println(kekka2+"=7") System.out.println System.out System System.out kekka2+"=7" kekka2 "=7" keisancount[0]=1 keisancount[0] keisancount 0 1 {
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		} if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			} tashihiki.equals("+") tashihiki.equals tashihiki "+" {
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			} String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()); S1 S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1) S.substring S 0 mojiretu-1 mojiretu 1 "+" S.substring(mojiretu-1, S.length()) S.substring S mojiretu-1 mojiretu 1 S.length() S.length S tashihiki(S1,"+",mojiretu-1,keisancount) tashihiki S1 "+" mojiretu-1 mojiretu 1 keisancount tashihiki(S1,"-",mojiretu-1,keisancount) tashihiki S1 "-" mojiretu-1 mojiretu 1 keisancount if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			} tashihiki.equals("-") tashihiki.equals tashihiki "-" {
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			} String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()); S2 S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length()) S.substring(0, mojiretu-1) S.substring S 0 mojiretu-1 mojiretu 1 "-" S.substring(mojiretu-1, S.length()) S.substring S mojiretu-1 mojiretu 1 S.length() S.length S tashihiki(S2,"+",mojiretu-1,keisancount) tashihiki S2 "+" mojiretu-1 mojiretu 1 keisancount tashihiki(S2,"-",mojiretu-1,keisancount) tashihiki S2 "-" mojiretu-1 mojiretu 1 keisancount String S S String tashihiki tashihiki int mojiretu mojiretu int[] keisancount keisancount public class Main {
	public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	}
	
	public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	}
	
	
	

	
	
	
	
	
	public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	}

} public class Main {
	public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	}
	
	public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	}
	
	
	

	
	
	
	
	
	public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		Scanner scan = new Scanner(System.in);
		
		String ABCD = scan.next();
		
		/*StringBuilder sb = new StringBuilder();//+ -　連結
		sb.append(ABCD);*/
		
		int []keisancount = new int[1];//式一つのみの結果を出力するため
		keisancount[0] =0;
		
		
		tashihiki(ABCD,"+",ABCD.length(),keisancount);//今回は文字列は４
		tashihiki(ABCD,"-",ABCD.length(),keisancount);
		
		
		
		
		
	}
	
	public static int keisan (String shiki){
		int goukei = 0;
		goukei += Integer.valueOf(shiki.substring(0, 1));//最初の数字は入れておく
	
		
		for(int i = 0;i<shiki.length()-1;i++){
			if(shiki.substring(i, i+1).equals("+")){
				goukei += Integer.valueOf(shiki.substring(i+1, i+2));
				
			}else if(shiki.substring(i, i+1).equals("-")){
				goukei -= Integer.valueOf(shiki.substring(i+1, i+2));
			}
		}
		
		
		
		return goukei;
		
		
	}
	
	
	

	
	
	
	
	
	public static void tashihiki(String S,String tashihiki,int mojiretu,int[] keisancount){
		if(mojiretu ==2){
			if(tashihiki.equals("+")){
				String kekka = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka);
				if(keisan(kekka)==7&&keisancount[0]==0){
					System.out.println(kekka+"=7");
					keisancount[0]=1;
				}
				
				
			}else if(tashihiki.equals("-")){
				String kekka2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				
				//System.out.println(kekka2);
				if(keisan(kekka2)==7&&keisancount[0]==0){
					System.out.println(kekka2+"=7");
					keisancount[0]=1;
				}
				
			
				
			}
			
		}else{
			if(tashihiki.equals("+")){
				String S1 = S.substring(0, mojiretu-1)+"+"+S.substring(mojiretu-1, S.length());
				tashihiki(S1,"+",mojiretu-1,keisancount);
				tashihiki(S1,"-",mojiretu-1,keisancount);
			}else if(tashihiki.equals("-")){
				String S2 = S.substring(0, mojiretu-1)+"-"+S.substring(mojiretu-1, S.length());
				tashihiki(S2,"+",mojiretu-1,keisancount);
				tashihiki(S2,"-",mojiretu-1,keisancount);	
			}
			
			
		}
		
		
	}

}