import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan char[] c = new char[s.length()]; c new char[s.length()] s.length() s.length s for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		} int i = 0; int i = 0; i 0 i < s.length() i s.length() s.length s i++ i++ i {
			c[i] = s.charAt(i);
		} {
			c[i] = s.charAt(i);
		} c[i] = s.charAt(i) c[i] c i s.charAt(i) s.charAt s i int[] x = new int[4]; x new int[4] 4 for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		} int i = 0; int i = 0; i 0 i < s.length() i s.length() s.length s i++ i++ i {
			x[i] = Character.getNumericValue(c[i]);
		} {
			x[i] = Character.getNumericValue(c[i]);
		} x[i] = Character.getNumericValue(c[i]) x[i] x i Character.getNumericValue(c[i]) Character.getNumericValue Character c[i] c i int[] a = new int[8]; a new int[8] 8 a[0] = x[0]-x[1]-x[2]-x[3] a[0] a 0 x[0]-x[1]-x[2]-x[3] x[2] x[0]-x[1]-x[2]-x[3] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[1] = x[0]-x[1]-x[2]+x[3] a[1] a 1 x[0]-x[1]-x[2]+x[3] x[0]-x[1]-x[2] x[0]-x[1]-x[2] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[2] = x[0]-x[1]+x[2]-x[3] a[2] a 2 x[0]-x[1]+x[2]-x[3] x[0]-x[1]+x[2] x[0]-x[1] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[3] = x[0]+x[1]-x[2]-x[3] a[3] a 3 x[0]+x[1]-x[2]-x[3] x[0]+x[1]-x[2]-x[3] x[0]+x[1] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[4] = x[0]-x[1]+x[2]+x[3] a[4] a 4 x[0]-x[1]+x[2]+x[3] x[0]-x[1]+x[2]+x[3] x[0]-x[1] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[5] = x[0]+x[1]+x[2]-x[3] a[5] a 5 x[0]+x[1]+x[2]-x[3] x[0]+x[1]+x[2] x[0]+x[1]+x[2] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[6] = x[0]+x[1]-x[2]+x[3] a[6] a 6 x[0]+x[1]-x[2]+x[3] x[0]+x[1]-x[2] x[0]+x[1] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 a[7] = x[0]+x[1]+x[2]+x[3] a[7] a 7 x[0]+x[1]+x[2]+x[3] x[2] x[0]+x[1]+x[2]+x[3] x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		} int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		} {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		} if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[0] == 7 a[0] a 0 7 {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d-%d-%d-%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[1] == 7 a[1] a 1 7 {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d-%d-%d+%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[2] == 7 a[2] a 2 7 {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d-%d+%d-%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[3] == 7 a[3] a 3 7 {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d+%d-%d-%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[4] == 7 a[4] a 4 7 {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d-%d+%d+%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[5] == 7 a[5] a 5 7 {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d+%d+%d-%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[6] == 7 a[6] a 6 7 {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d+%d-%d+%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} a[7] == 7 a[7] a 7 7 {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]) System.out.printf System.out System System.out "%d+%d+%d+%d=7" x[0] x 0 x[1] x 1 x[2] x 2 x[3] x 3 return; String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		char[] c = new char[s.length()];
		for (int i = 0; i < s.length(); i++) {
			c[i] = s.charAt(i);
		}
		int[] x = new int[4];
		for (int i = 0; i < s.length(); i++) {
			x[i] = Character.getNumericValue(c[i]);
		}

		int[] a = new int[8];
		a[0] = x[0]-x[1]-x[2]-x[3];
		a[1] = x[0]-x[1]-x[2]+x[3];
		a[2] = x[0]-x[1]+x[2]-x[3];
		a[3] = x[0]+x[1]-x[2]-x[3];
		a[4] = x[0]-x[1]+x[2]+x[3];
		a[5] = x[0]+x[1]+x[2]-x[3];
		a[6] = x[0]+x[1]-x[2]+x[3];
		a[7] = x[0]+x[1]+x[2]+x[3];

		for (int i = 0; i < 8; i++) {
			if (a[0] == 7) {
				System.out.printf("%d-%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[1] == 7) {
				System.out.printf("%d-%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[2] == 7) {
				System.out.printf("%d-%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[3] == 7) {
				System.out.printf("%d+%d-%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[4] == 7) {
				System.out.printf("%d-%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[5] == 7) {
				System.out.printf("%d+%d+%d-%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[6] == 7) {
				System.out.printf("%d+%d-%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			} else if (a[7] == 7) {
				System.out.printf("%d+%d+%d+%d=7", x[0], x[1], x[2], x[3]);
				return;
			}
		}
	}
}
