import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
	    String ABCD = sc.next();

	    String[] ABCD_Array = ABCD.split("", 0);



	    int a = Integer.parseInt(ABCD_Array[0]);
	    int b = Integer.parseInt(ABCD_Array[1]);
	    int c = Integer.parseInt(ABCD_Array[2]);
	    int d = Integer.parseInt(ABCD_Array[3]);

	    String op1 = "";
	    String op2 = "";
	    String op3 = "";

	    loop: for (int i = -1; i <= 1; i +=2) {
	    	int tmp_answer = 0;
	    	 for (int j = -1; j <= 1; j +=2) {
	    		 for (int k = -1; k <= 1; k +=2) {
	    			 tmp_answer = a + b * i + c * j + d * k;
	    			 if (tmp_answer == 7) {

	    				 if (i == -1) {
	    					 op1 = "-";
	    				 }
	    				 else {
	    					 op1 = "+";
	    				 }

	    				 if (j == -1) {
	    					 op2 = "-";
	    				 }
	    				 else {
	    					 op2 = "+";
	    				 }

	    				 if (k == -1) {
	    					 op3 = "-";
	    				 }
	    				 else {
	    					 op3 = "+";
	    				 }

	    				 break loop;
	    			 }
	    		 }
	    	 }
	    }
	    System.out.println(String.valueOf(a) + op1 + String.valueOf(b) + op2 + String.valueOf(c) + op3 + String.valueOf(d) + "=7");
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz