import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * 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;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    }

    static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

    }
}
 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.StringTokenizer; StringTokenizer java.util import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.InputStream; InputStream java.io public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    }

    static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        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 MyScanner in = new MyScanner(inputStream); in new MyScanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) ABC079C solver = new ABC079C(); solver new ABC079C() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    } ABC079C public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        } solve {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        } String S = in.next(); S in.next() in.next in int A = S.charAt(0) - '0'; A S.charAt(0) - '0' S.charAt(0) S.charAt S 0 '0' int B = S.charAt(1) - '0'; B S.charAt(1) - '0' S.charAt(1) S.charAt S 1 '0' int C = S.charAt(2) - '0'; C S.charAt(2) - '0' S.charAt(2) S.charAt S 2 '0' int D = S.charAt(3) - '0'; D S.charAt(3) - '0' S.charAt(3) S.charAt S 3 '0' int[] ABCD = new int[]{A, B, C, D}; ABCD new int[]{A, B, C, D} int loop = 1 << 3; loop 1 << 3 1 3 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            } int i = 0; int i = 0; i 0 i < loop i loop i++ i++ i {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            } {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            } sb.setLength(0) sb.setLength sb 0 sb.append(A) sb.append sb A int ans = A; ans A for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                } {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                } if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    } ((i >> j) & 1) == 0 ((i >> j) & 1) (i >> j) i j 1 0 {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } sb.append('+') sb.append sb '+' ans += ABCD[j + 1] ans ABCD[j + 1] ABCD j + 1 j 1 {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    } sb.append('-') sb.append sb '-' ans -= ABCD[j + 1] ans ABCD[j + 1] ABCD j + 1 j 1 sb.append(S.charAt(j + 1)) sb.append sb S.charAt(j + 1) S.charAt S j + 1 j 1 if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                } ans == 7 ans 7 {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                } sb.append("=7") sb.append sb "=7" out.println(sb.toString()) out.println out sb.toString() sb.toString sb return; int testNumber testNumber MyScanner in in PrintWriter out out static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

    } MyScanner private BufferedReader in; in private StringTokenizer st; st public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        } MyScanner {
            in = new BufferedReader(new InputStreamReader(stream));
        } in = new BufferedReader(new InputStreamReader(stream)) in new BufferedReader(new InputStreamReader(stream)) InputStream stream stream public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        } next {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        } while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            } st == null || !st.hasMoreTokens() st == null st null !st.hasMoreTokens() st.hasMoreTokens() st.hasMoreTokens st {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            } try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                } catch (IOException e) {
                    return null;
                } IOException e {
                    return null;
                } return null; null {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } String rl = in.readLine(); rl in.readLine() in.readLine in if (rl == null) {
                        return null;
                    } rl == null rl null {
                        return null;
                    } return null; null st = new StringTokenizer(rl) st new StringTokenizer(rl) return st.nextToken(); st.nextToken() st.nextToken st public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    }

    static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

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

    static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    }

    static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * 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;
        MyScanner in = new MyScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC079C solver = new ABC079C();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC079C {
        public void solve(int testNumber, MyScanner in, PrintWriter out) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';
            int[] ABCD = new int[]{A, B, C, D};

            int loop = 1 << 3;
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < loop; i++) {
                sb.setLength(0);
                sb.append(A);
                int ans = A;
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sb.append('+');
                        ans += ABCD[j + 1];
                    } else {
                        sb.append('-');
                        ans -= ABCD[j + 1];
                    }
                    sb.append(S.charAt(j + 1));
                }
                if (ans == 7) {
                    sb.append("=7");
                    out.println(sb.toString());
                    return;
                }
            }
        }

    }

    static class MyScanner {
        private BufferedReader in;
        private StringTokenizer st;

        public MyScanner(InputStream stream) {
            in = new BufferedReader(new InputStreamReader(stream));
        }

        public String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    String rl = in.readLine();
                    if (rl == null) {
                        return null;
                    }
                    st = new StringTokenizer(rl);
                } catch (IOException e) {
                    return null;
                }
            }
            return st.nextToken();
        }

    }
}

