import java.util.*;
public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	}
} import java.util.*; util.* java public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	}
} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc int ary[] = new int[3]; ary new int[3] 3 int A = Integer.parseInt(S.substring(0, 1)); A Integer.parseInt(S.substring(0, 1)) Integer.parseInt Integer S.substring(0, 1) S.substring S 0 1 ary[0] = Integer.parseInt(S.substring(1, 2)) ary[0] ary 0 Integer.parseInt(S.substring(1, 2)) Integer.parseInt Integer S.substring(1, 2) S.substring S 1 2 ary[1] = Integer.parseInt(S.substring(2, 3)) ary[1] ary 1 Integer.parseInt(S.substring(2, 3)) Integer.parseInt Integer S.substring(2, 3) S.substring S 2 3 ary[2] = Integer.parseInt(S.substring(3, 4)) ary[2] ary 2 Integer.parseInt(S.substring(3, 4)) Integer.parseInt Integer S.substring(3, 4) S.substring S 3 4 for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		} int i = 0; int i = 0; i 0 i < (Math.pow(2, 3)) i (Math.pow(2, 3)) Math.pow Math 2 3 i++ i++ i {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		} {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		} int ans = A; ans A StringBuilder sb = new StringBuilder(S); sb new StringBuilder(S) for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			} int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			} {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			} if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				} (1&i>>j) == 1 (1&i>>j) 1 i>>j i j 1 {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} ans += ary[j] ans ary[j] ary j sb.insert(2 * j + 1, "+") sb.insert sb 2 * j + 1 2 * j 2 j 1 "+" {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				} ans -= ary[j] ans ary[j] ary j sb.insert(2 * j + 1, "-") sb.insert sb 2 * j + 1 2 * j 2 j 1 "-" if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			} ans == 7 ans 7 {
				System.out.println(sb.append("=7"));
				return;
			} System.out.println(sb.append("=7")) System.out.println System.out System System.out sb.append("=7") sb.append sb "=7" return; String args[] args public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	}
} public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	}
} Main
import java.util.*;
public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int ary[] = new int[3];
		int A = Integer.parseInt(S.substring(0, 1));
		ary[0] = Integer.parseInt(S.substring(1, 2));
		ary[1] = Integer.parseInt(S.substring(2, 3));
		ary[2] = Integer.parseInt(S.substring(3, 4));
		for (int i = 0; i < (Math.pow(2, 3)); i++) {
			int ans = A;
			StringBuilder sb = new StringBuilder(S);
			for (int j = 0; j < 3; j++) {
				if ((1&i>>j) == 1) {
					ans += ary[j];
					sb.insert(2 * j + 1, "+");
				} else {
					ans -= ary[j];
					sb.insert(2 * j + 1, "-");
				}
			}
			if(ans == 7) {
				System.out.println(sb.append("=7"));
				return;
			}
		}
	}
}
