import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc char[] c = s.toCharArray(); c s.toCharArray() s.toCharArray s int n = s.length() - 1; n s.length() - 1 s.length() s.length s 1 String ans = null; ans null for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		} int i = 0; int i = 0; i 0 i < (1 << n) i (1 << n) 1 n i++ i++ i {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		} {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		} long sum = c[0] - '0'; sum c[0] - '0' c[0] c 0 '0' StringBuilder formula = new StringBuilder(); formula new StringBuilder() formula.append(sum) formula.append formula sum for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			} int j = 0; int j = 0; j 0 j < n j n j++ j++ j {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			} {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			} if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				} (i & (1 << j)) != 0 (i & (1 << j)) i (1 << j) 1 j 0 {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} sum += c[j + 1] - '0' sum c[j + 1] - '0' c[j + 1] c j + 1 j 1 '0' formula.append("+" + c[j + 1]) formula.append formula "+" + c[j + 1] "+" c[j + 1] c j + 1 j 1 {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				} sum -= c[j + 1] - '0' sum c[j + 1] - '0' c[j + 1] c j + 1 j 1 '0' formula.append("-" + c[j + 1]) formula.append formula "-" + c[j + 1] "-" c[j + 1] c j + 1 j 1 if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			} sum == 7 sum 7 {
				formula.append("=7");
				ans = formula.toString();
				break;
			} formula.append("=7") formula.append formula "=7" ans = formula.toString() ans formula.toString() formula.toString formula break; System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] c = s.toCharArray();
		int n = s.length() - 1;
		String ans = null;
		for (int i = 0; i < (1 << n); i++) {
			long sum = c[0] - '0';
			StringBuilder formula = new StringBuilder();
			formula.append(sum);
			for (int j = 0; j < n; j++) {
				if ((i & (1 << j)) != 0) {
					sum += c[j + 1] - '0';
					formula.append("+" + c[j + 1]);
				} else {
					sum -= c[j + 1] - '0';
					formula.append("-" + c[j + 1]);
				}
			}
			if (sum == 7) {
				formula.append("=7");
				ans = formula.toString();
				break;
			}
		}
		System.out.println(ans);
		sc.close();
	}
}