import java.util.Scanner;

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());
        sc.close();
    }
    
	//フィールド
    Scanner sc;
    String s;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    }
    
    //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    }
    
    //出力
    public void show(String answer) {
        System.out.println(answer);
    }

} import java.util.Scanner; Scanner 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());
        sc.close();
    }
    
	//フィールド
    Scanner sc;
    String s;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    }
    
    //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    }
    
    //出力
    public 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());
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        Main m = new Main(sc);
        m.show(m.solve());
        sc.close();
    } 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 sc.close() sc.close sc String[] args args //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    } Main {
        this.sc = sc;
        this.s = sc.next();
    } this.sc = sc this.sc this this.sc sc this.s = sc.next() this.s this this.s sc.next() sc.next sc Scanner sc sc //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    } solve {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    } String answer = null; answer null String[] S = s.split(""); S s.split("") s.split s "" int A = Integer.valueOf(S[0]); A Integer.valueOf(S[0]) Integer.valueOf Integer S[0] S 0 int B = Integer.valueOf(S[1]); B Integer.valueOf(S[1]) Integer.valueOf Integer S[1] S 1 int C = Integer.valueOf(S[2]); C Integer.valueOf(S[2]) Integer.valueOf Integer S[2] S 2 int D = Integer.valueOf(S[3]); D Integer.valueOf(S[3]) Integer.valueOf Integer S[3] S 3 if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        } A + B + C + D == 7 A + B + C + D C A + B + C + D A B C D 7 {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } answer = A + "+" + B + "+" + C + "+" + D + "=7" answer A + "+" + B + "+" + C + "+" + D + "=7" D "+" C "+" B A + "+" + B + "+" + C + "+" + D + "=7" A "+" B "+" C "+" D "=7" if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = 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 {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } answer = A + "+" + B + "+" + C + "-" + D + "=7" answer A + "+" + B + "+" + C + "-" + D + "=7" D "-" C "+" B A + "+" + B + "+" + C + "-" + D + "=7" A "+" B "+" C "-" D "=7" if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        } A + B - C + D == 7 A + B - C + D A + B - C A + B A B C D 7 {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } answer = A + "+" + B + "-" + C + "+" + D + "=7" answer A + "+" + B + "-" + C + "+" + D + "=7" D "+" C "-" B A + "+" + B + "-" + C + "+" + D + "=7" A "+" B "-" C "+" D "=7" if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = 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 {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } answer = A + "-" + B + "+" + C + "+" + D + "=7" answer A + "-" + B + "+" + C + "+" + D + "=7" D "+" C "+" B A + "-" + B + "+" + C + "+" + D + "=7" A "-" B "+" C "+" D "=7" if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = 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 {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } answer = A + "-" + B + "-" + C + "+" + D + "=7" answer A + "-" + B + "-" + C + "+" + D + "=7" D "+" C "-" B A + "-" + B + "-" + C + "+" + D + "=7" A "-" B "-" C "+" D "=7" if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = 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 {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } answer = A + "+" + B + "-" + C + "-" + D + "=7" answer A + "+" + B + "-" + C + "-" + D + "=7" D "-" C "-" B A + "+" + B + "-" + C + "-" + D + "=7" A "+" B "-" C "-" D "=7" if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        } A - B + C - D == 7 A - B + C - D A - B + C A - B A B C D 7 {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } answer = A + "-" + B + "+" + C + "-" + D + "=7" answer A + "-" + B + "+" + C + "-" + D + "=7" D "-" C "+" B A + "-" + B + "+" + C + "-" + D + "=7" A "-" B "+" C "-" D "=7" if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        } A - B - C - D == 7 A - B - C - D C A - B - C - D A B C D 7 {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        } answer = A + "-" + B + "-" + C + "-" + D + "=7" answer A + "-" + B + "-" + C + "-" + D + "=7" D "-" C "-" B A + "-" + B + "-" + C + "-" + D + "=7" A "-" B "-" C "-" D "=7" return answer; answer //出力
    public 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());
        sc.close();
    }
    
	//フィールド
    Scanner sc;
    String s;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    }
    
    //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    }
    
    //出力
    public 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());
        sc.close();
    }
    
	//フィールド
    Scanner sc;
    String s;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    }
    
    //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    }
    
    //出力
    public void show(String answer) {
        System.out.println(answer);
    }

} Main
import java.util.Scanner;

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());
        sc.close();
    }
    
	//フィールド
    Scanner sc;
    String s;
    
    //入力
    Main(Scanner sc) {
        this.sc = sc;
        this.s = sc.next();
    }
    
    //解答処理
    private String solve() {
        String answer = null;
        String[] S = s.split("");
        int A = Integer.valueOf(S[0]);
        int B = Integer.valueOf(S[1]);
        int C = Integer.valueOf(S[2]);
        int D = Integer.valueOf(S[3]);
        
        if (A + B + C + D == 7) {
        	answer = A + "+" + B + "+" + C + "+" + D + "=7";
        } else if (A + B + C - D == 7) {
        	answer = A + "+" + B + "+" + C + "-" + D + "=7";
        } else if (A + B - C + D == 7) {
        	answer = A + "+" + B + "-" + C + "+" + D + "=7";
        } else if (A - B + C + D == 7) {
        	answer = A + "-" + B + "+" + C + "+" + D + "=7";
        } else if (A - B - C + D == 7) {
        	answer = A + "-" + B + "-" + C + "+" + D + "=7";
        } else if (A + B - C - D == 7) {
        	answer = A + "+" + B + "-" + C + "-" + D + "=7";
        } else if (A - B + C - D == 7) {
        	answer = A + "-" + B + "+" + C + "-" + D + "=7";
        } else if (A - B - C - D == 7) {
        	answer = A + "-" + B + "-" + C + "-" + D + "=7";
        }
        
        return answer;
    }
    
    //出力
    public void show(String answer) {
        System.out.println(answer);
    }

}
