import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	}

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

	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	}

} Main public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	} main {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int ABCD = scn.nextInt(); ABCD scn.nextInt() scn.nextInt scn int A = ABCD/1000; A ABCD/1000 ABCD 1000 int B = (ABCD%1000)/100; B (ABCD%1000)/100 (ABCD%1000) ABCD 1000 100 int C = (ABCD%100)/10; C (ABCD%100)/10 (ABCD%100) ABCD 100 10 int D = ABCD%10; D ABCD%10 ABCD 10 if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		} A+B+C+D==7 A+B+C+D C A+B+C+D A B C D 7 {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		} System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7) System.out.println System.out System System.out A+"+" + B + "+" + C + "+" + D + "=" + 7 "=" D "+" C "+" B A+"+" + B + "+" + C + "+" + D + "=" + 7 A "+" B "+" C "+" D "=" 7 return; if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		} A+B+C-D==7 A+B+C-D A+B+C A+B+C A B C D 7 {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		} System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7) System.out.println System.out System System.out A+"+" + B + "+" + C + "-" + D + "=" + 7 "=" D "-" C "+" B A+"+" + B + "+" + C + "-" + D + "=" + 7 A "+" B "+" C "-" D "=" 7 return; if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		} A+B-C+D==7 A+B-C+D A+B-C A+B A B C D 7 {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		} System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7) System.out.println System.out System System.out A+"+" + B + "-" + C + "+" + D + "=" + 7 "=" D "+" C "-" B A+"+" + B + "-" + C + "+" + D + "=" + 7 A "+" B "-" C "+" D "=" 7 return; if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		} A+B-C-D==7 A+B-C-D A+B-C-D A+B A B C D 7 {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		} System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7) System.out.println System.out System System.out A+"+" + B + "-" + C + "-" + D + "=" + 7 "=" D "-" C "-" B A+"+" + B + "-" + C + "-" + D + "=" + 7 A "+" B "-" C "-" D "=" 7 return; if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		} A-B+C+D==7 A-B+C+D A-B+C+D A-B A B C D 7 {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		} System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7) System.out.println System.out System System.out A+"-" + B + "+" + C + "+" + D + "=" + 7 "=" D "+" C "+" B A+"-" + B + "+" + C + "+" + D + "=" + 7 A "-" B "+" C "+" D "=" 7 return; if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		} A-B+C-D==7 A-B+C-D A-B+C A-B A B C D 7 {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		} System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7) System.out.println System.out System System.out A+"-" + B + "+" + C + "-" + D + "=" + 7 "=" D "-" C "+" B A+"-" + B + "+" + C + "-" + D + "=" + 7 A "-" B "+" C "-" D "=" 7 return; if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		} A-B-C+D==7 A-B-C+D A-B-C A-B-C A B C D 7 {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		} System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7) System.out.println System.out System System.out A+"-" + B + "-" + C + "+" + D + "=" + 7 "=" D "+" C "-" B A+"-" + B + "-" + C + "+" + D + "=" + 7 A "-" B "-" C "+" D "=" 7 return; if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		} A-B-C-D==7 A-B-C-D C A-B-C-D A B C D 7 {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		} System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7) System.out.println System.out System System.out A+"-" + B + "-" + C + "-" + D + "=" + 7 "=" D "-" C "-" B A+"-" + B + "-" + C + "-" + D + "=" + 7 A "-" B "-" C "-" D "=" 7 return; String[] args args public class Main{

	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	}

} public class Main{

	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int ABCD = scn.nextInt();
		int A = ABCD/1000;
		int B = (ABCD%1000)/100;
		int C = (ABCD%100)/10;
		int D = ABCD%10;
		
		
		if(A+B+C+D==7) {
			System.out.println(A+"+" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B+C-D==7) {
			System.out.println(A+"+" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A+B-C+D==7) {
			System.out.println(A+"+" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A+B-C-D==7) {
			System.out.println(A+"+" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B+C+D==7) {
			System.out.println(A+"-" + B + "+" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B+C-D==7) {
			System.out.println(A+"-" + B + "+" + C + "-" + D + "=" + 7);
			return;
		}
		if(A-B-C+D==7) {
			System.out.println(A+"-" + B + "-" + C + "+" + D + "=" + 7);
			return;
		}
		if(A-B-C-D==7) {
			System.out.println(A+"-" + B + "-" + C + "-" + D + "=" + 7);
			return;
		}
	}

}
