import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static int[] X = new int[4];
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	}

	public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	}
} import java.io.*; io.* java public class Main {

	final static long MOD = 1000000007;
	public static int[] X = new int[4];
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	}

	public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	}
} Main final static long MOD = 1000000007; MOD 1000000007 public static int[] X = new int[4]; X new int[4] 4 public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	} main {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String S = in.readLine(); S in.readLine() in.readLine in X[0] = Integer.parseInt(String.valueOf(S.charAt(0))) X[0] X 0 Integer.parseInt(String.valueOf(S.charAt(0))) Integer.parseInt Integer String.valueOf(S.charAt(0)) String.valueOf String S.charAt(0) S.charAt S 0 X[1] = Integer.parseInt(String.valueOf(S.charAt(1))) X[1] X 1 Integer.parseInt(String.valueOf(S.charAt(1))) Integer.parseInt Integer String.valueOf(S.charAt(1)) String.valueOf String S.charAt(1) S.charAt S 1 X[2] = Integer.parseInt(String.valueOf(S.charAt(2))) X[2] X 2 Integer.parseInt(String.valueOf(S.charAt(2))) Integer.parseInt Integer String.valueOf(S.charAt(2)) String.valueOf String S.charAt(2) S.charAt S 2 X[3] = Integer.parseInt(String.valueOf(S.charAt(3))) X[3] X 3 Integer.parseInt(String.valueOf(S.charAt(3))) Integer.parseInt Integer String.valueOf(S.charAt(3)) String.valueOf String S.charAt(3) S.charAt S 3 System.out.println(op(0,new String[3],X[0])) System.out.println System.out System System.out op(0,new String[3],X[0]) op 0 new String[3] 3 X[0] X 0 String[] args args public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	} op {
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	} if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		} idx==3 idx 3 {
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		} if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			} sum==7 sum 7 {
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			} return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7"; X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7" X[3] op[2] X[2] op[1] X[1] X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7" X[0] X 0 op[0] op 0 X[1] X 1 op[1] op 1 X[2] X 2 op[2] op 2 X[3] X 3 "=7" {
				return null;
			} return null; null op[idx]="+" op[idx] op idx "+" String ans = op(idx+1,op,sum+X[idx+1]); ans op(idx+1,op,sum+X[idx+1]) op idx+1 idx 1 op sum+X[idx+1] sum X[idx+1] X idx+1 idx 1 if(ans!=null){
			return ans;
		} ans!=null ans null {
			return ans;
		} return ans; ans op[idx]="-" op[idx] op idx "-" return op(idx+1,op,sum-X[idx+1]); op(idx+1,op,sum-X[idx+1]) op idx+1 idx 1 op sum-X[idx+1] sum X[idx+1] X idx+1 idx 1 int idx idx String[] op op int sum sum public class Main {

	final static long MOD = 1000000007;
	public static int[] X = new int[4];
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	}

	public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	}
} public class Main {

	final static long MOD = 1000000007;
	public static int[] X = new int[4];
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	}

	public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	}
} Main
import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static int[] X = new int[4];
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String S = in.readLine();

		X[0] = Integer.parseInt(String.valueOf(S.charAt(0)));
		X[1] = Integer.parseInt(String.valueOf(S.charAt(1)));
		X[2] = Integer.parseInt(String.valueOf(S.charAt(2)));
		X[3] = Integer.parseInt(String.valueOf(S.charAt(3)));


		System.out.println(op(0,new String[3],X[0]));
	}

	public static String op(int idx,String[] op,int sum){
		if(idx==3){
			if(sum==7){
				return X[0]+op[0]+X[1]+op[1]+X[2]+op[2]+X[3]+"=7";
			}else{
				return null;
			}
		}
		op[idx]="+";
		String ans = op(idx+1,op,sum+X[idx+1]);
		if(ans!=null){
			return ans;
		}
		op[idx]="-";
		return op(idx+1,op,sum-X[idx+1]);

	}
}
