        import java.util.Scanner;
        
        class Main {
         
            public static void main(String[] args) {
                Scanner sc = new Scanner(System.in);
                String N = sc.nextLine();
                sc.close();
                String[] S = N.split("");
                int[] n = new int[4];
                
                for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                }
                
                if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                }
               
            }
        } import java.util.Scanner; Scanner java.util class Main {
         
            public static void main(String[] args) {
                Scanner sc = new Scanner(System.in);
                String N = sc.nextLine();
                sc.close();
                String[] S = N.split("");
                int[] n = new int[4];
                
                for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                }
                
                if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                }
               
            }
        } Main public static void main(String[] args) {
                Scanner sc = new Scanner(System.in);
                String N = sc.nextLine();
                sc.close();
                String[] S = N.split("");
                int[] n = new int[4];
                
                for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                }
                
                if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                }
               
            } main {
                Scanner sc = new Scanner(System.in);
                String N = sc.nextLine();
                sc.close();
                String[] S = N.split("");
                int[] n = new int[4];
                
                for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                }
                
                if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                }
               
            } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String N = sc.nextLine(); N sc.nextLine() sc.nextLine sc sc.close() sc.close sc String[] S = N.split(""); S N.split("") N.split N "" int[] n = new int[4]; n new int[4] 4 for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
                	n[i] = Integer.valueOf(S[i]);
                } {
                	n[i] = Integer.valueOf(S[i]);
                } n[i] = Integer.valueOf(S[i]) n[i] n i Integer.valueOf(S[i]) Integer.valueOf Integer S[i] S i if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } n[0] + n[1] + n[2] + n[3] == 7 n[0] + n[1] + n[2] + n[3] n[2] n[0] + n[1] + n[2] + n[3] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7") System.out.println System.out System System.out n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7" n[3] "+" n[2] "+" n[1] n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7" n[0] n 0 "+" n[1] n 1 "+" n[2] n 2 "+" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } n[0] + n[1] + n[2] - n[3] == 7 n[0] + n[1] + n[2] - n[3] n[0] + n[1] + n[2] n[0] + n[1] + n[2] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7") System.out.println System.out System System.out n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7" n[3] "-" n[2] "+" n[1] n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7" n[0] n 0 "+" n[1] n 1 "+" n[2] n 2 "-" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } n[0] + n[1] - n[2] + n[3] == 7 n[0] + n[1] - n[2] + n[3] n[0] + n[1] - n[2] n[0] + n[1] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7") System.out.println System.out System System.out n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7" n[3] "+" n[2] "-" n[1] n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7" n[0] n 0 "+" n[1] n 1 "-" n[2] n 2 "+" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } n[0] + n[1] - n[2] - n[3] == 7 n[0] + n[1] - n[2] - n[3] n[0] + n[1] - n[2] - n[3] n[0] + n[1] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7") System.out.println System.out System System.out n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7" n[3] "-" n[2] "-" n[1] n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7" n[0] n 0 "+" n[1] n 1 "-" n[2] n 2 "-" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } n[0] - n[1] + n[2] + n[3] == 7 n[0] - n[1] + n[2] + n[3] n[0] - n[1] + n[2] + n[3] n[0] - n[1] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7") System.out.println System.out System System.out n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7" n[3] "+" n[2] "+" n[1] n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7" n[0] n 0 "-" n[1] n 1 "+" n[2] n 2 "+" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } n[0] - n[1] + n[2] - n[3] == 7 n[0] - n[1] + n[2] - n[3] n[0] - n[1] + n[2] n[0] - n[1] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7") System.out.println System.out System System.out n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7" n[3] "-" n[2] "+" n[1] n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7" n[0] n 0 "-" n[1] n 1 "+" n[2] n 2 "-" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                } n[0] - n[1] - n[2] + n[3] == 7 n[0] - n[1] - n[2] + n[3] n[0] - n[1] - n[2] n[0] - n[1] - n[2] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7") System.out.println System.out System System.out n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7" n[3] "+" n[2] "-" n[1] n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7" n[0] n 0 "-" n[1] n 1 "-" n[2] n 2 "+" n[3] n 3 "=7" System.exit(0) System.exit System 0 if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                } n[0] - n[1] - n[2] - n[3] == 7 n[0] - n[1] - n[2] - n[3] n[2] n[0] - n[1] - n[2] - n[3] n[0] n 0 n[1] n 1 n[2] n 2 n[3] n 3 7 {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                } System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7") System.out.println System.out System System.out n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7" n[3] "-" n[2] "-" n[1] n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7" n[0] n 0 "-" n[1] n 1 "-" n[2] n 2 "-" n[3] n 3 "=7" System.exit(0) System.exit System 0 String[] args args
        import java.util.Scanner;
        
        class Main {
         
            public static void main(String[] args) {
                Scanner sc = new Scanner(System.in);
                String N = sc.nextLine();
                sc.close();
                String[] S = N.split("");
                int[] n = new int[4];
                
                for(int i = 0; i < 4; i++) {
                	n[i] = Integer.valueOf(S[i]);
                }
                
                if(n[0] + n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] + n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "+" + n[1] + "-" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" +  n[2] + "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] + n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" + n[1] + "+" + n[2] + "-" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] + n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1] + "-" + n[2]+ "+" + n[3] + "=7");
                	System.exit(0);
                }
                if(n[0] - n[1] - n[2] - n[3] == 7) {
                	System.out.println(n[0] + "-" +  n[1]+ "-" + n[2]+  "-" + n[3] + "=7");
                	System.exit(0);
                }
               
            }
        }