import java.util.Scanner;

public class Main {

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

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

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

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

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

} public class Main {

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

} Main
import java.util.Scanner;

public class Main {

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

}
