import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	} main {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int a = Integer.valueOf(s); a Integer.valueOf(s) Integer.valueOf Integer s int []x = new int [4]; x new int [4] 4 for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		} int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
			x[3-i] = a % 10;
			a = a / 10;
		} {
			x[3-i] = a % 10;
			a = a / 10;
		} x[3-i] = a % 10 x[3-i] x 3-i 3 i a % 10 a 10 a = a / 10 a a / 10 a 10 int []c = new int [3]; c new int [3] 3 for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		} int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		} {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		} int temp = x[0]; temp x[0] x 0 for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		} int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		} {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		} if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			} (1 & i >> j) == 1 (1 & i >> j) 1 i >> j i j 1 {
				temp += x[j+1];
				c[j] = 1;
			} temp += x[j+1] temp x[j+1] x j+1 j 1 c[j] = 1 c[j] c j 1 {
				temp -= x[j+1];
				c[j] = 0;
			} temp -= x[j+1] temp x[j+1] x j+1 j 1 c[j] = 0 c[j] c j 0 if(temp == 7) {
				break;
			} temp == 7 temp 7 {
				break;
			} break; for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		} int i = 0 ; int i = 0 ; i 0 i < 3 i 3 i++ i++ i {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		} {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		} if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			} c[i] == 1 c[i] c i 1 {
			System.out.print(x[i] +""+"+");
			} System.out.print(x[i] +""+"+") System.out.print System.out System System.out x[i] +""+"+" x[i] +""+"+" x[i] x i "" "+" {
			System.out.print(x[i]+""+"-");
			} System.out.print(x[i]+""+"-") System.out.print System.out System System.out x[i]+""+"-" x[i]+""+"-" x[i] x i "" "-" System.out.print(x[3]+""+"=7") System.out.print System.out System System.out x[3]+""+"=7" x[3]+""+"=7" x[3] x 3 "" "=7" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	}

} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String s = sc.next();
		
		int a = Integer.valueOf(s);
		
		int []x = new int [4];
		
		for(int i = 0; i < 4  ; i++) {
			x[3-i] = a % 10;
			a = a / 10;
		}
		int []c = new int [3];
		
		for(int i = 0; i < 8 ; i++) {
			int temp = x[0];
			for(int j = 0; j < 3; j++) {
			if((1 & i >> j) == 1) {
				temp += x[j+1];
				c[j] = 1;
			}
			else {
				temp -= x[j+1];
				c[j] = 0;
			}
		}
			if(temp == 7) {
				break;
			}
		}
		
		for(int i = 0 ; i < 3 ; i++) {
			if(c[i] == 1) {
			System.out.print(x[i] +""+"+");
			}
			else {
			System.out.print(x[i]+""+"-");
			}
		}
		System.out.print(x[3]+""+"=7");
	}

}
