import java.util.Scanner;

public class Main {

	public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	}
} Main public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	} main {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan int n = s.length(); n s.length() s.length s for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    } int i = 0; int i = 0; i 0 i < (1 << n - 1) i (1 << n - 1) 1 n - 1 n 1 i++ i++ i {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    } {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    } long tmp = (int)s.charAt(0) - '0'; tmp (int)s.charAt(0) - '0' (int)s.charAt(0) s.charAt s 0 '0' String result = "" + s.charAt(0); result "" + s.charAt(0) "" s.charAt(0) s.charAt s 0 for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        } int j = 1; int j = 1; j 1 j < n j n j++ j++ j {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        } {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        } if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            } (i & (1 << j-1)) != 0 (i & (1 << j-1)) i (1 << j-1) 1 j-1 j 1 0 {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } tmp += (int)s.charAt(j) - '0' tmp (int)s.charAt(j) - '0' (int)s.charAt(j) s.charAt s j '0' if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j); j!=0 j 0 result += "+" + s.charAt(j) result "+" + s.charAt(j) "+" s.charAt(j) s.charAt s j result += s.charAt(j) result s.charAt(j) s.charAt s j {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            } tmp -= (int)s.charAt(j) - '0' tmp (int)s.charAt(j) - '0' (int)s.charAt(j) s.charAt s j '0' if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j); j!=0 j 0 result += "-" + s.charAt(j) result "-" + s.charAt(j) "-" s.charAt(j) s.charAt s j result += s.charAt(j) result s.charAt(j) s.charAt s j if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        } tmp == 7 tmp 7 {
	        	System.out.println(result + "=7");
		        break;
	        } System.out.println(result + "=7") System.out.println System.out System System.out result + "=7" result "=7" break; String[] arg arg public class Main {

	public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	}
} public class Main {

	public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] arg) {
		Scanner scan = new Scanner(System.in);
		String s = scan.next();
		int n = s.length();
		for(int i = 0; i < (1 << n - 1); i++) {
	        long tmp = (int)s.charAt(0) - '0';
	        String result = "" + s.charAt(0);
	        for(int j = 1; j < n; j++) {
		        if((i & (1 << j-1)) != 0) {
		            tmp += (int)s.charAt(j) - '0';
		            if(j!=0)result += "+" + s.charAt(j);
		            else result += s.charAt(j);
	            } else {
	            	tmp -= (int)s.charAt(j) - '0';
		            if(j!=0)result += "-" + s.charAt(j);
		            else result += s.charAt(j);
	            }
		        //System.out.println("i:" + i + ",j:" + j);
		        //System.out.println(result);
		        //System.out.println("tmp:" + tmp);
	        }
	        if(tmp == 7){
	        	System.out.println(result + "=7");
		        break;
	        }
	    }
	}
}
