import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    }
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    }
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    } main {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] line = sc.nextLine().toCharArray(); line sc.nextLine().toCharArray() sc.nextLine().toCharArray sc.nextLine() sc.nextLine sc int n = line.length; n line.length line line.length int[] s = new int[n]; s new int[n] n String ans = ""; ans "" for(int i = 0;i < n;i++) s[i] = line[i] - '0'; int i = 0; int i = 0; i 0 i < n i n i++ i++ i s[i] = line[i] - '0'; s[i] = line[i] - '0' s[i] s i line[i] - '0' line[i] line i '0' long sum = s[0]; sum s[0] s 0 int op = 0; op 0 for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		} int i = 0; int i = 0; i 0 i < (1 << n - 1) i (1 << n - 1) 1 n - 1 n 1 i++ i++ i {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		} {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		} sum = s[0] sum s[0] s 0 op = i op i for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			} int j = 0; int j = 0; j 0 j < n - 1 j n - 1 n 1 j++ j++ j {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			} {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			} if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				} (i >> j & 1) != 1 (i >> j & 1) i >> j i j 1 1 {
					sum -= s[j + 1];
				} sum -= s[j + 1] sum s[j + 1] s j + 1 j 1 {
					sum += s[j + 1];
				} sum += s[j + 1] sum s[j + 1] s j + 1 j 1 if(sum == 7) {
				break;
			} sum == 7 sum 7 {
				break;
			} break; for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		} {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		} ans += s[i] ans s[i] s i if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			} (op >> i & 1) == 1 && i != n - 1 (op >> i & 1) == 1 (op >> i & 1) op >> i op i 1 1 i != n - 1 i n - 1 n 1 {
				ans += "+";
			} ans += "+" ans "+" if(i != n - 1){
				ans += "-";
			} i != n - 1 i n - 1 n 1 {
				ans += "-";
			} ans += "-" ans "-" ans += "=7" ans "=7" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    }
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    }
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] line = sc.nextLine().toCharArray();
		int n = line.length;
		int[] s = new int[n];
		String ans = "";
		for(int i = 0;i < n;i++) s[i] = line[i] - '0';
		
		// 探索
		long sum = s[0];
		int op = 0;
		for(int i = 0;i < (1 << n - 1);i++) {
			sum = s[0];
			op = i;
			for(int j = 0;j < n - 1;j++) {
				if((i >> j & 1) != 1) {
					sum -= s[j + 1];
				}
				else {
					sum += s[j + 1];
				}
			}

			if(sum == 7) {
				break;
			}
		}

		// 結果の出力
		for(int i = 0;i < n;i++) {
			ans += s[i];
			if((op >> i & 1) == 1 && i != n - 1) {
				ans += "+";
			}
			else if(i != n - 1){
				ans += "-";
			}
		}
		
		ans += "=7";
		System.out.println(ans);		
    }
}