import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        String S=sc.next();
        int[] A=new int[4];
        A[0]=Character.getNumericValue(S.charAt(0));
        A[1]=Character.getNumericValue(S.charAt(1));
        A[2]=Character.getNumericValue(S.charAt(2));
        A[3]=Character.getNumericValue(S.charAt(3));
        
        int ans=A[0];
        
        for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        }
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        String S=sc.next();
        int[] A=new int[4];
        A[0]=Character.getNumericValue(S.charAt(0));
        A[1]=Character.getNumericValue(S.charAt(1));
        A[2]=Character.getNumericValue(S.charAt(2));
        A[3]=Character.getNumericValue(S.charAt(3));
        
        int ans=A[0];
        
        for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        }
    }
} Main public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        String S=sc.next();
        int[] A=new int[4];
        A[0]=Character.getNumericValue(S.charAt(0));
        A[1]=Character.getNumericValue(S.charAt(1));
        A[2]=Character.getNumericValue(S.charAt(2));
        A[3]=Character.getNumericValue(S.charAt(3));
        
        int ans=A[0];
        
        for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        }
    } main {
        Scanner sc=new Scanner(System.in);
        String S=sc.next();
        int[] A=new int[4];
        A[0]=Character.getNumericValue(S.charAt(0));
        A[1]=Character.getNumericValue(S.charAt(1));
        A[2]=Character.getNumericValue(S.charAt(2));
        A[3]=Character.getNumericValue(S.charAt(3));
        
        int ans=A[0];
        
        for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        }
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) String S=sc.next(); S sc.next() sc.next sc int[] A=new int[4]; A new int[4] 4 A[0]=Character.getNumericValue(S.charAt(0)) A[0] A 0 Character.getNumericValue(S.charAt(0)) Character.getNumericValue Character S.charAt(0) S.charAt S 0 A[1]=Character.getNumericValue(S.charAt(1)) A[1] A 1 Character.getNumericValue(S.charAt(1)) Character.getNumericValue Character S.charAt(1) S.charAt S 1 A[2]=Character.getNumericValue(S.charAt(2)) A[2] A 2 Character.getNumericValue(S.charAt(2)) Character.getNumericValue Character S.charAt(2) S.charAt S 2 A[3]=Character.getNumericValue(S.charAt(3)) A[3] A 3 Character.getNumericValue(S.charAt(3)) Character.getNumericValue Character S.charAt(3) S.charAt S 3 int ans=A[0]; ans A[0] A 0 for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        } int i=0; int i=0; i 0 i<(1<<3) i (1<<3) 1 3 i++ i++ i {
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        } {
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        } for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            } {
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            } if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                } (1&(i>>j))==1 (1&(i>>j)) 1 (i>>j) i j 1 {
                    ans+=A[j+1];
                } ans+=A[j+1] ans A[j+1] A j+1 j 1 {
                    ans-=A[j+1];
                } ans-=A[j+1] ans A[j+1] A j+1 j 1 if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            } ans==7 ans 7 {
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            } System.out.print(A[0]) System.out.print System.out System System.out A[0] A 0 for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                } {
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                } if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    } (1&(i>>j))==1 (1&(i>>j)) 1 (i>>j) i j 1 {
                        System.out.print("+"+A[j+1]);
                    } System.out.print("+"+A[j+1]) System.out.print System.out System System.out "+"+A[j+1] "+" A[j+1] A j+1 j 1 {
                        System.out.print("-"+A[j+1]);
                    } System.out.print("-"+A[j+1]) System.out.print System.out System System.out "-"+A[j+1] "-" A[j+1] A j+1 j 1 System.out.println("=7") System.out.println System.out System System.out "=7" break; ans=A[0] ans A[0] A 0 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[] A=new int[4];
        A[0]=Character.getNumericValue(S.charAt(0));
        A[1]=Character.getNumericValue(S.charAt(1));
        A[2]=Character.getNumericValue(S.charAt(2));
        A[3]=Character.getNumericValue(S.charAt(3));
        
        int ans=A[0];
        
        for(int i=0;i<(1<<3);i++){
            for(int j=0;j<3;j++){
                if((1&(i>>j))==1){
                    ans+=A[j+1];
                }else{
                    ans-=A[j+1];
                }
            }
            
            if(ans==7){
                System.out.print(A[0]);
                for(int j=0;j<3;j++){
                    if((1&(i>>j))==1){
                        System.out.print("+"+A[j+1]);
                    }else{
                        System.out.print("-"+A[j+1]);
                    }
                }
                System.out.println("=7");
                break;
            }
            
            ans=A[0];
        }
    }
}