import java.io.*;
import java.util.*;
public class Main {
    static String oper;
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    }
    /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    static String oper;
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    }
    /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    }
} Main static String oper; oper public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc char[] chs = s.toCharArray(); chs s.toCharArray() s.toCharArray s String oper = dfs(chs, 1, chs[0] - '0', ""); oper dfs(chs, 1, chs[0] - '0', "") dfs chs 1 chs[0] - '0' chs[0] chs 0 '0' "" StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        } int i = 0; int i = 0; i 0 i < chs.length i chs.length chs chs.length i++ i++ i {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        } {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        } sb.append(chs[i]) sb.append sb chs[i] chs i if(i < chs.length - 1)
                sb.append(oper.charAt(i)); i < chs.length - 1 i chs.length - 1 chs.length chs chs.length 1 sb.append(oper.charAt(i)) sb.append sb oper.charAt(i) oper.charAt oper i System.out.println(sb.toString() + "=7") System.out.println System.out System System.out sb.toString() + "=7" sb.toString() sb.toString sb "=7" String args[] args /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    } dfs {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    } if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        } idx == chs.length idx chs.length chs chs.length {
            if(cur == 7)
                return opers;
            else return null;
        } if(cur == 7)
                return opers;
            else return null; cur == 7 cur 7 return opers; opers return null; null String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+"); plus dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+") dfs chs idx + 1 idx 1 cur + (chs[idx] - '0') cur (chs[idx] - '0') chs[idx] chs idx '0' opers + "+" opers "+" if(plus != null)
            return plus; plus != null plus null return plus; plus String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-"); nega dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-") dfs chs idx + 1 idx 1 cur - (chs[idx] - '0') cur (chs[idx] - '0') chs[idx] chs idx '0' opers + "-" opers "-" if(nega != null)
            return nega; nega != null nega null return nega; nega return null; null char[] chs chs int idx idx int cur cur String opers opers public class Main {
    static String oper;
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    }
    /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    }
} public class Main {
    static String oper;
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    }
    /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    }
} Main
import java.io.*;
import java.util.*;
public class Main {
    static String oper;
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] chs = s.toCharArray();

        String oper = dfs(chs, 1, chs[0] - '0', "");
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < chs.length; i++) {
            sb.append(chs[i]);
            if(i < chs.length - 1)
                sb.append(oper.charAt(i));
        }  
        System.out.println(sb.toString() + "=7");
    }
    /*
     1 2 2 2
      ^ 
     cur = 1+2=3+2=7 oper = "+++"
    */
    private static String dfs(char[] chs, int idx, int cur, String opers) {
        if(idx == chs.length) {
            if(cur == 7)
                return opers;
            else return null;
        }
        
        String plus = dfs(chs, idx + 1, cur + (chs[idx] - '0'), opers + "+");
        if(plus != null)
            return plus;
        
        String nega = dfs(chs, idx + 1, cur - (chs[idx] - '0'), opers + "-");
        if(nega != null)
            return nega;
            
        return null;
    }
}