import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		} main {
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.next(); str sc.next() sc.next sc int n[] = new int[4]; n new int[4] 4 int A = Character.getNumericValue(str.charAt(0)); A Character.getNumericValue(str.charAt(0)) Character.getNumericValue Character str.charAt(0) str.charAt str 0 int B = Character.getNumericValue(str.charAt(1)); B Character.getNumericValue(str.charAt(1)) Character.getNumericValue Character str.charAt(1) str.charAt str 1 int C = Character.getNumericValue(str.charAt(2)); C Character.getNumericValue(str.charAt(2)) Character.getNumericValue Character str.charAt(2) str.charAt str 2 int D = Character.getNumericValue(str.charAt(3)); D Character.getNumericValue(str.charAt(3)) Character.getNumericValue Character str.charAt(3) str.charAt str 3 if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A+B+C+D==7 A+B+C+D C A+B+C+D A B C D 7 {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	} System.out.println(A+"+"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"+"+B+"+"+C+"+"+D+"=7" A "+" B "+" C "+" D "=7" return; if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A+B+C-D==7 A+B+C-D A+B+C A+B+C A B C D 7 {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	} System.out.println(A+"+"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"+"+B+"+"+C+"-"+D+"=7" A "+" B "+" C "-" D "=7" return; if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A+B-C+D==7 A+B-C+D A+B-C A+B A B C D 7 {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	} System.out.println(A+"+"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"+"+B+"-"+C+"+"+D+"=7" A "+" B "-" C "+" D "=7" return; if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A+B-C-D==7 A+B-C-D A+B-C-D A+B A B C D 7 {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} System.out.println(A+"+"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"+"+B+"-"+C+"-"+D+"=7" A "+" B "-" C "-" D "=7" return; if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A-B+C+D==7 A-B+C+D A-B+C+D A-B A B C D 7 {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	} System.out.println(A+"-"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"-"+B+"+"+C+"+"+D+"=7" A "-" B "+" C "+" D "=7" return; if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A-B+C-D==7 A-B+C-D A-B+C A-B A B C D 7 {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	} System.out.println(A+"-"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"-"+B+"+"+C+"-"+D+"=7" A "-" B "+" C "-" D "=7" return; if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A-B-C+D==7 A-B-C+D A-B-C A-B-C A B C D 7 {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	} System.out.println(A+"-"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"-"+B+"-"+C+"+"+D+"=7" A "-" B "-" C "+" D "=7" return; if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} A-B-C-D==7 A-B-C-D C A-B-C-D A B C D 7 {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	} System.out.println(A+"-"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"-"+B+"-"+C+"-"+D+"=7" A "-" B "-" C "-" D "=7" return; String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//数値
		String str = sc.next();
		int n[] = new int[4];

        	int A = Character.getNumericValue(str.charAt(0)); 
		    int B = Character.getNumericValue(str.charAt(1)); 
		    int C = Character.getNumericValue(str.charAt(2)); 
		    int D = Character.getNumericValue(str.charAt(3)); 
		    if(A+B+C+D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B+C-D==7) {
		    	System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C+D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A+B-C-D==7) {
		    	System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		    
		    else if(A-B+C+D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B+C-D==7) {
		    	System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C+D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		    	return;
		    	}
		    else if(A-B-C-D==7) {
		    	System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		    	return;
		    	}
		}
}