
import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   } main {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String  str = sc.next(); str sc.next() sc.next sc String ans = ""; ans "" int a = Character.getNumericValue(str.charAt(0)); a Character.getNumericValue(str.charAt(0)) Character.getNumericValue Character str.charAt(0) str.charAt str 0 int b = Character.getNumericValue(str.charAt(1)); b Character.getNumericValue(str.charAt(1)) Character.getNumericValue Character str.charAt(1) str.charAt str 1 int c = Character.getNumericValue(str.charAt(2)); c Character.getNumericValue(str.charAt(2)) Character.getNumericValue Character str.charAt(2) str.charAt str 2 int d = Character.getNumericValue(str.charAt(3)); d Character.getNumericValue(str.charAt(3)) Character.getNumericValue Character str.charAt(3) str.charAt str 3 if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a+b+c+d==7 a+b+c+d c a+b+c+d a b c d 7 {
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        } ans = ""+a+"+"+b+"+"+c+"+"+d+"=7" ans ""+a+"+"+b+"+"+c+"+"+d+"=7" d "+" c "+" b "+" ""+a+"+"+b+"+"+c+"+"+d+"=7" "" a "+" b "+" c "+" d "=7" if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a+b+c-d==7 a+b+c-d a+b+c a+b+c a b c d 7 {
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        } ans = ""+a+"+"+b+"+"+c+"-"+d+"=7" ans ""+a+"+"+b+"+"+c+"-"+d+"=7" d "-" c "+" b "+" ""+a+"+"+b+"+"+c+"-"+d+"=7" "" a "+" b "+" c "-" d "=7" if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a+b-c+d==7 a+b-c+d a+b-c a+b a b c d 7 {
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        } ans = ""+a+"+"+b+"-"+c+"+"+d+"=7" ans ""+a+"+"+b+"-"+c+"+"+d+"=7" d "+" c "-" b "+" ""+a+"+"+b+"-"+c+"+"+d+"=7" "" a "+" b "-" c "+" d "=7" if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a+b-c-d==7 a+b-c-d a+b-c-d a+b a b c d 7 {
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        } ans = ""+a+"+"+b+"-"+c+"-"+d+"=7" ans ""+a+"+"+b+"-"+c+"-"+d+"=7" d "-" c "-" b "+" ""+a+"+"+b+"-"+c+"-"+d+"=7" "" a "+" b "-" c "-" d "=7" if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a-b+c+d==7 a-b+c+d a-b+c+d a-b a b c d 7 {
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        } ans = ""+a+"-"+b+"+"+c+"+"+d+"=7" ans ""+a+"-"+b+"+"+c+"+"+d+"=7" d "+" c "+" b "-" ""+a+"-"+b+"+"+c+"+"+d+"=7" "" a "-" b "+" c "+" d "=7" if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a-b+c-d==7 a-b+c-d a-b+c a-b a b c d 7 {
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        } ans = ""+a+"-"+b+"+"+c+"-"+d+"=7" ans ""+a+"-"+b+"+"+c+"-"+d+"=7" d "-" c "+" b "-" ""+a+"-"+b+"+"+c+"-"+d+"=7" "" a "-" b "+" c "-" d "=7" if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a-b-c+d==7 a-b-c+d a-b-c a-b-c a b c d 7 {
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        } ans = ""+a+"-"+b+"-"+c+"+"+d+"=7" ans ""+a+"-"+b+"-"+c+"+"+d+"=7" d "+" c "-" b "-" ""+a+"-"+b+"-"+c+"+"+d+"=7" "" a "-" b "-" c "+" d "=7" if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } a-b-c-d==7 a-b-c-d c a-b-c-d a b c d 7 {
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        } ans = ""+a+"-"+b+"-"+c+"-"+d+"=7" ans ""+a+"-"+b+"-"+c+"-"+d+"=7" d "-" c "-" b "-" ""+a+"-"+b+"-"+c+"-"+d+"=7" "" a "-" b "-" c "-" d "=7" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   }
} Main

import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
  		String  str = sc.next();
        String ans = "";
        int a = Character.getNumericValue(str.charAt(0));
        int b = Character.getNumericValue(str.charAt(1));
        int c = Character.getNumericValue(str.charAt(2));
        int d = Character.getNumericValue(str.charAt(3));
        
        if(a+b+c+d==7){
            ans = ""+a+"+"+b+"+"+c+"+"+d+"=7";
        }else if(a+b+c-d==7){
            ans = ""+a+"+"+b+"+"+c+"-"+d+"=7";
        }else if(a+b-c+d==7){
            ans = ""+a+"+"+b+"-"+c+"+"+d+"=7";
        }else if(a+b-c-d==7){
            ans = ""+a+"+"+b+"-"+c+"-"+d+"=7";
        }else if(a-b+c+d==7){
            ans = ""+a+"-"+b+"+"+c+"+"+d+"=7";
        }else if(a-b+c-d==7){
            ans = ""+a+"-"+b+"+"+c+"-"+d+"=7";
        }else if(a-b-c+d==7){
            ans = ""+a+"-"+b+"-"+c+"+"+d+"=7";
        }else if(a-b-c-d==7){
            ans = ""+a+"-"+b+"-"+c+"-"+d+"=7";
        }
        
        
		System.out.println(ans);
   }
}
