import java.util.*;

public class Main {

	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	}
} import java.util.*; util.* java public class Main {

	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	}
} Main public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String n = sc.next(); n sc.next() sc.next sc int a = n.charAt(0) - '0'; a n.charAt(0) - '0' n.charAt(0) n.charAt n 0 '0' int b = n.charAt(1) - '0'; b n.charAt(1) - '0' n.charAt(1) n.charAt n 1 '0' int c = n.charAt(2) - '0'; c n.charAt(2) - '0' n.charAt(2) n.charAt n 2 '0' int d = n.charAt(3) - '0'; d n.charAt(3) - '0' n.charAt(3) n.charAt n 3 '0' int[] v = new int[]{1, -1}; v new int[]{1, -1} String[] op = new String[]{"+", "-"}; op new String[]{"+", "-"} for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		} int i = 0; int i = 0; i 0 i < v.length i v.length v v.length i++ i++ i {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		} {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		} for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			} int j = 0; int j = 0; j 0 j < v.length j v.length v v.length j++ j++ j {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			} {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			} for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				} int k = 0; int k = 0; k 0 k < v.length k v.length v v.length k++ k++ k {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				} {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				} if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					} a + b * v[i] + c * v[j] + d * v[k] == 7 a + b * v[i] + c * v[j] + d * v[k] c * v[j] a + b * v[i] + c * v[j] + d * v[k] a b * v[i] b v[i] v i c * v[j] c v[j] v j d * v[k] d v[k] v k 7 {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					} StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7") sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d) sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]) sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append sb.append(a).append(op[i]).append(b).append(op[j]).append(c) sb.append(a).append(op[i]).append(b).append(op[j]).append sb.append(a).append(op[i]).append(b).append(op[j]) sb.append(a).append(op[i]).append(b).append sb.append(a).append(op[i]).append(b) sb.append(a).append(op[i]).append sb.append(a).append(op[i]) sb.append(a).append sb.append(a) sb.append sb a op[i] op i b op[j] op j c op[k] op k d "=7" System.out.println(sb) System.out.println System.out System System.out sb return; String[] args args public class Main {

	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	}
} public class Main {

	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	}
} Main
import java.util.*;

public class Main {

	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int a = n.charAt(0) - '0';
		int b = n.charAt(1) - '0';
		int c = n.charAt(2) - '0';
		int d = n.charAt(3) - '0';
		int[] v = new int[]{1, -1};
		String[] op = new String[]{"+", "-"};
		for (int i = 0; i < v.length; i++) {
			for (int j = 0; j < v.length; j++) {
				for (int k = 0; k < v.length; k++) {
					if (a + b * v[i] + c * v[j] + d * v[k] == 7) {
						StringBuilder sb = new StringBuilder();
						sb.append(a).append(op[i]).append(b).append(op[j]).append(c).append(op[k]).append(d).append("=7");
						System.out.println(sb);
						return;
					}
				}
			}
		}
	}
}
