import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}};
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        }
        String[] dic = new String[]{"-"," ","+"};
        for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(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[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}};
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        }
        String[] dic = new String[]{"-"," ","+"};
        for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}};
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        }
        String[] dic = new String[]{"-"," ","+"};
        for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}};
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        }
        String[] dic = new String[]{"-"," ","+"};
        for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc int[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}}; op new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}} int[] a = new int[4]; a new int[4] 4 for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
            a[i] = S.charAt(i)-'0';
        } {
            a[i] = S.charAt(i)-'0';
        } a[i] = S.charAt(i)-'0' a[i] a i S.charAt(i)-'0' S.charAt(i) S.charAt S i '0' String[] dic = new String[]{"-"," ","+"}; dic new String[]{"-"," ","+"} for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        } int i=0; int i=0; i 0 i<8 i 8 i++ i++ i {
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        } {
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        } int[] cur = op[i]; cur op[i] op i int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2]; res a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2] a[2]*cur[1] a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2] a[0] a 0 a[1]*cur[0] a[1] a 1 cur[0] cur 0 a[2]*cur[1] a[2] a 2 cur[1] cur 1 a[3]*cur[2] a[3] a 3 cur[2] cur 2 if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            } res == 7 res 7 {
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            } StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(a[0]) sb.append sb a[0] a 0 sb.append(dic[cur[0]+1]) sb.append sb dic[cur[0]+1] dic cur[0]+1 cur[0] cur 0 1 sb.append(a[1]) sb.append sb a[1] a 1 sb.append(dic[cur[1]+1]) sb.append sb dic[cur[1]+1] dic cur[1]+1 cur[1] cur 1 1 sb.append(a[2]) sb.append sb a[2] a 2 sb.append(dic[cur[2]+1]) sb.append sb dic[cur[2]+1] dic cur[2]+1 cur[2] cur 2 1 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 System.exit(0) System.exit System 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[][] op = new int[][]{{1,1,1},{1,1,-1},{1,-1,1},{-1,1,1},{-1,-1,1},{-1,1,-1},{1,-1,-1},{-1,-1,-1}};
        int[] a = new int[4];
        for(int i=0;i<4;i++){
            a[i] = S.charAt(i)-'0';
        }
        String[] dic = new String[]{"-"," ","+"};
        for(int i=0;i<8;i++){
            int[] cur = op[i];
            int res = a[0]+a[1]*cur[0]+a[2]*cur[1]+a[3]*cur[2];
            if(res == 7){
                StringBuilder sb = new StringBuilder();
                sb.append(a[0]);
                sb.append(dic[cur[0]+1]);
                sb.append(a[1]);
                sb.append(dic[cur[1]+1]);
                sb.append(a[2]);
                sb.append(dic[cur[2]+1]);
                sb.append(a[3]);
                sb.append("=7");
                System.out.println(sb.toString());
                System.exit(0);
            }
        }
    }
}
