import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    }
    
    Scanner sc;
    String S;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    }
    
    //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    }
    
    //出力
    void show(String answer) {
        System.out.println(answer);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    }
    
    Scanner sc;
    String S;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    }
    
    //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    }
    
    //出力
    void show(String answer) {
        System.out.println(answer);
    }
} Main Scanner sc; sc String S; S public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    } main {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Main m = new Main(sc); m new Main(sc) m.show(m.solve()) m.show m m.solve() m.solve m String[] args args //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    } Main {
        this.sc = sc;
        S = sc.next();
    } this.sc = sc this.sc this this.sc sc S = sc.next() S sc.next() sc.next sc Scanner sc sc //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    } solve {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    } String[] s = S.split(""); s S.split("") S.split S "" int A = Integer.parseInt(s[0]); A Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 int B = Integer.parseInt(s[1]); B Integer.parseInt(s[1]) Integer.parseInt Integer s[1] s 1 int C = Integer.parseInt(s[2]); C Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 int D = Integer.parseInt(s[3]); D Integer.parseInt(s[3]) Integer.parseInt Integer s[3] s 3 String op1 = null; op1 null String op2 = null; op2 null String op3 = null; op3 null if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A+B+C+D == 7 A+B+C+D C A+B+C+D A B C D 7 {
            op1 = "+"; op2 = "+"; op3 = "+";
        } op1 = "+" op1 "+" op2 = "+" op2 "+" op3 = "+" op3 "+" if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A-B+C+D == 7 A-B+C+D A-B+C+D A-B A B C D 7 {
            op1 = "-"; op2 = "+"; op3 = "+";
        } op1 = "-" op1 "-" op2 = "+" op2 "+" op3 = "+" op3 "+" if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A+B-C+D == 7 A+B-C+D A+B-C A+B A B C D 7 {
            op1 = "+"; op2 = "-"; op3 = "+";
        } op1 = "+" op1 "+" op2 = "-" op2 "-" op3 = "+" op3 "+" if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A+B+C-D == 7 A+B+C-D A+B+C A+B+C A B C D 7 {
            op1 = "+"; op2 = "+"; op3 = "-";
        } op1 = "+" op1 "+" op2 = "+" op2 "+" op3 = "-" op3 "-" if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A-B+C-D == 7 A-B+C-D A-B+C A-B A B C D 7 {
            op1 = "-"; op2 = "+"; op3 = "-";
        } op1 = "-" op1 "-" op2 = "+" op2 "+" op3 = "-" op3 "-" if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A+B-C-D == 7 A+B-C-D A+B-C-D A+B A B C D 7 {
            op1 = "+"; op2 = "-"; op3 = "-";
        } op1 = "+" op1 "+" op2 = "-" op2 "-" op3 = "-" op3 "-" if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A-B-C+D == 7 A-B-C+D A-B-C A-B-C A B C D 7 {
            op1 = "-"; op2 = "-"; op3 = "+";
        } op1 = "-" op1 "-" op2 = "-" op2 "-" op3 = "+" op3 "+" if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        } A-B-C-D == 7 A-B-C-D C A-B-C-D A B C D 7 {
            op1 = "-"; op2 = "-"; op3 = "-";
        } op1 = "-" op1 "-" op2 = "-" op2 "-" op3 = "-" op3 "-" String f = A + op1 + B + op2 + C + op3 + D + "=7"; f A + op1 + B + op2 + C + op3 + D + "=7" D op3 C op2 B A + op1 + B + op2 + C + op3 + D + "=7" A op1 B op2 C op3 D "=7" return f; f //出力
    void show(String answer) {
        System.out.println(answer);
    } show {
        System.out.println(answer);
    } System.out.println(answer) System.out.println System.out System System.out answer String answer answer public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    }
    
    Scanner sc;
    String S;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    }
    
    //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    }
    
    //出力
    void show(String answer) {
        System.out.println(answer);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    }
    
    Scanner sc;
    String S;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    }
    
    //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    }
    
    //出力
    void show(String answer) {
        System.out.println(answer);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
    }
    
    Scanner sc;
    String S;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        S = sc.next();
    }
    
    //解答処理
    String solve() {
        String[] s = S.split("");
        int A = Integer.parseInt(s[0]);
        int B = Integer.parseInt(s[1]);
        int C = Integer.parseInt(s[2]);
        int D = Integer.parseInt(s[3]);
        
        String op1 = null;
        String op2 = null;
        String op3 = null;
        
        if (A+B+C+D == 7){
            op1 = "+"; op2 = "+"; op3 = "+";
        } else if (A-B+C+D == 7){
            op1 = "-"; op2 = "+"; op3 = "+";
        } else if (A+B-C+D == 7){
            op1 = "+"; op2 = "-"; op3 = "+";
        } else if (A+B+C-D == 7){
            op1 = "+"; op2 = "+"; op3 = "-";
        } else if (A-B+C-D == 7){
            op1 = "-"; op2 = "+"; op3 = "-";
        } else if (A+B-C-D == 7){
            op1 = "+"; op2 = "-"; op3 = "-";
        } else if (A-B-C+D == 7){
            op1 = "-"; op2 = "-"; op3 = "+";
        } else if (A-B-C-D == 7){
            op1 = "-"; op2 = "-"; op3 = "-";
        }
        
        
        String f = A + op1 + B + op2 + C + op3 + D + "=7";
        return f;
    }
    
    //出力
    void show(String answer) {
        System.out.println(answer);
    }
}
