import java.util.*;

public class Main {

    static int MOD = 1000000007;
    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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        }
    }

} import java.util.*; util.* java public class Main {

    static int MOD = 1000000007;
    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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        }
    }

} Main static int MOD = 1000000007; MOD 1000000007 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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=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.parseInt(s.substring(i,i+1)); int i=0; int i=0; i 0 i<4 i 4 i++ i++ i abcd[i]=Integer.parseInt(s.substring(i,i+1)); abcd[i]=Integer.parseInt(s.substring(i,i+1)) abcd[i] abcd i Integer.parseInt(s.substring(i,i+1)) Integer.parseInt Integer s.substring(i,i+1) s.substring s i i+1 i 1 for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        } int i=0; int i=0; i 0 i<Math.pow(2,3+1) i Math.pow(2,3+1) Math.pow Math 2 3+1 3 1 i++ i++ i {
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        } {
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        } int  temp = i; temp i boolean[] bit = new boolean[3]; bit new boolean[3] 3 for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                bit[j]=temp%2==1;
                temp=temp>>1;
            } {
                bit[j]=temp%2==1;
                temp=temp>>1;
            } bit[j]=temp%2==1 bit[j] bit j temp%2==1 temp%2 temp 2 1 temp=temp>>1 temp temp>>1 temp 1 int fugou = 1; fugou 1 int ans=abcd[0]; ans abcd[0] abcd 0 for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            } {
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            } if(!bit[j])fugou=-1;
                else fugou = 1; !bit[j] bit[j] bit j fugou=-1 fugou -1 1 fugou = 1 fugou 1 ans+=fugou*abcd[j+1] ans fugou*abcd[j+1] fugou abcd[j+1] abcd j+1 j 1 if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            } ans==7 ans 7 {

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            } for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                } {
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                } System.out.print(abcd[j]) System.out.print System.out System System.out abcd[j] abcd j System.out.print(bit[j]?"+":"-") System.out.print System.out System System.out bit[j]?"+":"-" bit[j] bit j "+" "-" System.out.println(abcd[3]+"=7") System.out.println System.out System System.out abcd[3]+"=7" abcd[3] abcd 3 "=7" return; String[] args args public class Main {

    static int MOD = 1000000007;
    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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        }
    }

} public class Main {

    static int MOD = 1000000007;
    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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        }
    }

} Main
import java.util.*;

public class Main {

    static int MOD = 1000000007;
    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.parseInt(s.substring(i,i+1));

        for(int i=0;i<Math.pow(2,3+1);i++){
            int  temp = i;
            boolean[] bit = new boolean[3];
            for(int j=0;j<3;j++){
                bit[j]=temp%2==1;
                temp=temp>>1;
            }
            

            int fugou = 1;
            int ans=abcd[0];

            for(int j=0;j<3;j++){
                if(!bit[j])fugou=-1;
                else fugou = 1;
                ans+=fugou*abcd[j+1];

            }

            if(ans==7){

                for(int j=0;j<3;j++){
                    System.out.print(abcd[j]);
                    System.out.print(bit[j]?"+":"-");
                }
                System.out.println(abcd[3]+"=7");
                return;
            }


        }
    }

}
