import java.util.*;
 
 
class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        int abcd[] = new int[4];
        for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        }
        int n = 3;
        String pm[] = new String[3];
        for(int i=0; i<3;i++){
            pm[i] = "";
        }

        for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        }

    }
} import java.util.*; util.* java class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        int abcd[] = new int[4];
        for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        }
        int n = 3;
        String pm[] = new String[3];
        for(int i=0; i<3;i++){
            pm[i] = "";
        }

        for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        }

    }
} Main public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        int abcd[] = new int[4];
        for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        }
        int n = 3;
        String pm[] = new String[3];
        for(int i=0; i<3;i++){
            pm[i] = "";
        }

        for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        }

    } main {
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        int abcd[] = new int[4];
        for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        }
        int n = 3;
        String pm[] = new String[3];
        for(int i=0; i<3;i++){
            pm[i] = "";
        }

        for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int abcd[] = new int[4]; abcd new int[4] 4 for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        } {
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        } abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i))) abcd[i] abcd i Integer.valueOf(String.valueOf(s.charAt(i))) Integer.valueOf Integer String.valueOf(s.charAt(i)) String.valueOf String s.charAt(i) s.charAt s i int n = 3; n 3 String pm[] = new String[3]; pm new String[3] 3 for(int i=0; i<3;i++){
            pm[i] = "";
        } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
            pm[i] = "";
        } {
            pm[i] = "";
        } pm[i] = "" pm[i] pm i "" for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        } int i = 0; int i = 0; i 0 i < Math.pow(2,n) i Math.pow(2,n) Math.pow Math 2 n i++ i++ i {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        } {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        } int sum = abcd[0]; sum abcd[0] abcd 0 for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            } int j=0; int j=0; j 0 j<n j n j++ j++ j {
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            } {
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            } if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                } (1 & i>>j) == 1 (1 & i>>j) 1 i>>j i j 1 {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } sum += abcd[j+1] sum abcd[j+1] abcd j+1 j 1 pm[j] = "+" pm[j] pm j "+" {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                } sum -= abcd[j+1] sum abcd[j+1] abcd j+1 j 1 pm[j] = "-" pm[j] pm j "-" if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            } sum==7 sum 7 {
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            } System.out.print(abcd[0]) System.out.print System.out System System.out abcd[0] abcd 0 for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                } int k=0; int k=0; k 0 k<3 k 3 k++ k++ k {
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                } {
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                } System.out.print(pm[k]) System.out.print System.out System System.out pm[k] pm k System.out.print(abcd[k+1]) System.out.print System.out System System.out abcd[k+1] abcd k+1 k 1 System.out.println("=7") System.out.println System.out System System.out "=7" return; String args[] args
import java.util.*;
 
 
class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        int abcd[] = new int[4];
        for(int i=0; i<4; i++){
            abcd[i] = Integer.valueOf(String.valueOf(s.charAt(i)));
        }
        int n = 3;
        String pm[] = new String[3];
        for(int i=0; i<3;i++){
            pm[i] = "";
        }

        for(int i = 0;i < Math.pow(2,n);i++) {
            int sum = abcd[0];
            for(int j=0; j<n;j++){
                if((1 & i>>j) == 1) {
                    sum += abcd[j+1];
                    pm[j] = "+";
                } else {
                    sum -= abcd[j+1];
                    pm[j] = "-";
                }
            }
            if(sum==7){
                System.out.print(abcd[0]);
                for(int k=0; k<3; k++){
                    System.out.print(pm[k]);
                    System.out.print(abcd[k+1]);
                }
                System.out.println("=7");
                return;
            }
        }

    }
}