import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    }

} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] s = sc.next().toCharArray(); s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc int[] a = new int[4]; a new int[4] 4 for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
            a[i] = s[i]-'0';
        } {
            a[i] = s[i]-'0';
        } a[i] = s[i]-'0' a[i] a i s[i]-'0' s[i] s i '0' sc.close() sc.close sc int sum; sum int sign = 1; sign 1 for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        } int i=0; int i=0; i 0 i<8 i 8 i++ i++ i {
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        } {
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        } sign = 1 sign 1 sum = 0 sum 0 for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            } {
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            } if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                } ((i>>2-j)&1)==1 ((i>>2-j)&1) (i>>2-j) i 2-j 2 j 1 1 {
                    sum+=sign*a[j];
                    sign = 1;
                } sum+=sign*a[j] sum sign*a[j] sign a[j] a j sign = 1 sign 1 {
                    sum+=sign*a[j];
                    sign = -1;
                } sum+=sign*a[j] sum sign*a[j] sign a[j] a j sign = -1 sign -1 1 sum+=a[3]*sign sum a[3]*sign a[3] a 3 sign if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } sum==7 sum 7 {
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                } {
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                } sb.append(a[j]) sb.append sb a[j] a j if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    } ((i>>2-j)&1)==1 ((i>>2-j)&1) (i>>2-j) i 2-j 2 j 1 1 {
                        sb.append('+');
                    } sb.append('+') sb.append sb '+' {
                        sb.append('-');
                    } sb.append('-') sb.append sb '-' sb.append(a[3]) sb.append sb a[3] a 3 sb.append("=7") sb.append sb "=7" System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb return; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    }

} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    }

} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = s[i]-'0';
        }
        sc.close();
        int sum;
        int sign = 1;
        for(int i=0;i<8;i++){
            sign = 1;
            sum = 0;
            for(int j=0;j<3;j++){
                if(((i>>2-j)&1)==1){
                    sum+=sign*a[j];
                    sign = 1;
                }else{
                    sum+=sign*a[j];
                    sign = -1;
                }
            }
            sum+=a[3]*sign;
            if(sum==7){
                StringBuilder sb = new StringBuilder();
                for(int j=0;j<3;j++){
                    sb.append(a[j]);
                    if(((i>>2-j)&1)==1){
                        sb.append('+');
                    }else{
                        sb.append('-');
                    }
                }
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
        }
    }

}