import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) C solver = new C(); solver new C() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    } C public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        } solve {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        } String abcd = in.next(); abcd in.next() in.next in int a = Integer.parseInt(abcd.substring(0, 1)); a Integer.parseInt(abcd.substring(0, 1)) Integer.parseInt Integer abcd.substring(0, 1) abcd.substring abcd 0 1 int b = Integer.parseInt(abcd.substring(1, 2)); b Integer.parseInt(abcd.substring(1, 2)) Integer.parseInt Integer abcd.substring(1, 2) abcd.substring abcd 1 2 int c = Integer.parseInt(abcd.substring(2, 3)); c Integer.parseInt(abcd.substring(2, 3)) Integer.parseInt Integer abcd.substring(2, 3) abcd.substring abcd 2 3 int d = Integer.parseInt(abcd.substring(3, 4)); d Integer.parseInt(abcd.substring(3, 4)) Integer.parseInt Integer abcd.substring(3, 4) abcd.substring abcd 3 4 char op[] = {'+', '-'}; op {'+', '-'} '+' '-' for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            } int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            } {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            } for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                } int j = 0; int j = 0; j 0 j < 2 j 2 j++ j++ j {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                } {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                } for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    } int k = 0; int k = 0; k 0 k < 2 k 2 k++ k++ k {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    } {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    } int ans = calc(a, op[i], b, op[j], c, op[k], d); ans calc(a, op[i], b, op[j], c, op[k], d) calc a op[i] op i b op[j] op j c op[k] op k d if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        } ans == 7 ans 7 {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        } out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7") out.println out a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7" d String.valueOf(op[k]) c String.valueOf(op[j]) b a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7" a String.valueOf(op[i]) String.valueOf String op[i] op i b String.valueOf(op[j]) String.valueOf String op[j] op j c String.valueOf(op[k]) String.valueOf String op[k] op k d "=7" return; int testNumber testNumber Scanner in in PrintWriter out out public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        } calc {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        } int ret = 0; ret 0 if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            } op1 == '+' op1 '+' {
                ret = a + b;
            } ret = a + b ret a + b a b {
                ret = a - b;
            } ret = a - b ret a - b a b if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            } op2 == '+' op2 '+' {
                ret = ret + c;
            } ret = ret + c ret ret + c ret c {
                ret = ret - c;
            } ret = ret - c ret ret - c ret c if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            } op3 == '+' op3 '+' {
                ret = ret + d;
            } ret = ret + d ret ret + d ret d {
                ret = ret - d;
            } ret = ret - d ret ret - d ret d return ret; ret int a a char op1 op1 int b b char op2 op2 int c c char op3 op3 int d d public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            String abcd = in.next();
            int a = Integer.parseInt(abcd.substring(0, 1));
            int b = Integer.parseInt(abcd.substring(1, 2));
            int c = Integer.parseInt(abcd.substring(2, 3));
            int d = Integer.parseInt(abcd.substring(3, 4));

            char op[] = {'+', '-'};

            for (int i = 0; i < 2; i++) {
                for (int j = 0; j < 2; j++) {
                    for (int k = 0; k < 2; k++) {
                        int ans = calc(a, op[i], b, op[j], c, op[k], d);
                        if (ans == 7) {
                            // 出力
                            out.println(a + String.valueOf(op[i]) + b + String.valueOf(op[j]) + c + String.valueOf(op[k]) + d + "=7");
                            return;
                        }
                    }
                }
            }

        }

        public static int calc(int a, char op1, int b, char op2, int c, char op3, int d) {
            int ret = 0;
            if (op1 == '+') {
                ret = a + b;
            } else {
                ret = a - b;
            }
            if (op2 == '+') {
                ret = ret + c;
            } else {
                ret = ret - c;
            }
            if (op3 == '+') {
                ret = ret + d;
            } else {
                ret = ret - d;
            }
            return ret;
        }

    }
}

