import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	} main {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) String suu=sc.next(); suu sc.next() sc.next sc String[] array=suu.split(""); array suu.split("") suu.split suu "" int[] fainalValue=new int[array.length]; fainalValue new int[array.length] array.length array array.length for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		} int i=0; int i=0; i 0 i<array.length i array.length array array.length i++ i++ i {
			fainalValue[i]=Integer.parseInt(array[i]);
		} {
			fainalValue[i]=Integer.parseInt(array[i]);
		} fainalValue[i]=Integer.parseInt(array[i]) fainalValue[i] fainalValue i Integer.parseInt(array[i]) Integer.parseInt Integer array[i] array i int A=fainalValue[0]; A fainalValue[0] fainalValue 0 int B=fainalValue[1]; B fainalValue[1] fainalValue 1 int C=fainalValue[2]; C fainalValue[2] fainalValue 2 int D=fainalValue[3]; D fainalValue[3] fainalValue 3 if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		} (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");
		} 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" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		String suu=sc.next();
		String[] array=suu.split("");
		int[] fainalValue=new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			fainalValue[i]=Integer.parseInt(array[i]);
		}
		int A=fainalValue[0];
		int B=fainalValue[1];
		int C=fainalValue[2];
		int D=fainalValue[3];
		
		
		if((A+B+C+D)==7) {
			System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
		}else if((A-B+C+D)==7) {
			System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
		}else if((A+B-C+D)==7) {
			System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
		}else if((A+B+C-D)==7){
			System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C+D)==7){
			System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
		}else if((A+B-C-D)==7){
			System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
		}else if((A-B+C-D)==7){
			System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
		}else if((A-B-C-D)==7){
			System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
		}
	}

}
