import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.Closeable;
import java.io.IOException;
import java.util.NoSuchElementException;
import java.io.InputStream;

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

    static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    }

    static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

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

    static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    }

    static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastScanner in = new FastScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        CTrainTicket solver = new CTrainTicket();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastScanner in = new FastScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        CTrainTicket solver = new CTrainTicket();
        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 FastScanner in = new FastScanner(inputStream); in new FastScanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) CTrainTicket solver = new CTrainTicket(); solver new CTrainTicket() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    } CTrainTicket public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        } solve {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        } char[] chars = in.next().toCharArray(); chars in.next().toCharArray() in.next().toCharArray in.next() in.next in int[] nums = new int[4]; nums new int[4] 4 for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
                nums[i] = Character.getNumericValue(chars[i]);
            } {
                nums[i] = Character.getNumericValue(chars[i]);
            } nums[i] = Character.getNumericValue(chars[i]) nums[i] nums i Character.getNumericValue(chars[i]) Character.getNumericValue Character chars[i] chars i for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            } int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            } {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            } int sum = nums[0]; sum nums[0] nums 0 StringBuilder ans = new StringBuilder(); ans new StringBuilder() ans.append(sum) ans.append ans sum for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                } {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                } if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    } ((i >> j) & 1) == 0 ((i >> j) & 1) (i >> j) i j 1 0 {
                        sum += nums[j + 1];
                        ans.append('+');
                    } sum += nums[j + 1] sum nums[j + 1] nums j + 1 j 1 ans.append('+') ans.append ans '+' {
                        sum -= nums[j + 1];
                        ans.append('-');
                    } sum -= nums[j + 1] sum nums[j + 1] nums j + 1 j 1 ans.append('-') ans.append ans '-' ans.append(nums[j + 1]) ans.append ans nums[j + 1] nums j + 1 j 1 if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                } sum == 7 sum 7 {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                } ans.append("=7") ans.append ans "=7" out.println(ans.toString()) out.println out ans.toString() ans.toString ans return; int testNumber testNumber FastScanner in in PrintWriter out out static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    } FastScanner private final InputStream in; in private final byte[] buffer = new byte[1024]; buffer new byte[1024] 1024 private int ptr = 0; ptr 0 private int buflen = 0; buflen 0 public FastScanner(InputStream in) {
            this.in = in;
        } FastScanner {
            this.in = in;
        } this.in = in this.in this this.in in InputStream in in private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        } hasNextByte {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        } if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            } ptr < buflen ptr buflen {
                return true;
            } return true; true {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            } ptr = 0 ptr 0 try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                } catch (IOException e) {
                    e.printStackTrace();
                } IOException e {
                    e.printStackTrace();
                } e.printStackTrace() e.printStackTrace e {
                    buflen = in.read(buffer);
                } buflen = in.read(buffer) buflen in.read(buffer) in.read in buffer if (buflen <= 0) {
                    return false;
                } buflen <= 0 buflen 0 {
                    return false;
                } return false; false return true; true private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        } readByte {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        } if (hasNextByte()) return buffer[ptr++];
            else return -1; hasNextByte() hasNextByte return buffer[ptr++]; buffer[ptr++] buffer ptr++ ptr return -1; -1 1 private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        } isPrintableChar {
            return 33 <= c && c <= 126;
        } return 33 <= c && c <= 126; 33 <= c && c <= 126 33 <= c 33 c c <= 126 c 126 int c c public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        } hasNext {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        } while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; hasNextByte() && !isPrintableChar(buffer[ptr]) hasNextByte() hasNextByte !isPrintableChar(buffer[ptr]) isPrintableChar(buffer[ptr]) isPrintableChar buffer[ptr] buffer ptr ptr++ ptr return hasNextByte(); hasNextByte() hasNextByte public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        } next {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        } if (!hasNext()) throw new NoSuchElementException(); !hasNext() hasNext() hasNext throw new NoSuchElementException(); new NoSuchElementException() StringBuilder sb = new StringBuilder(); sb new StringBuilder() int b = readByte(); b readByte() readByte while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            } isPrintableChar(b) isPrintableChar b {
                sb.appendCodePoint(b);
                b = readByte();
            } sb.appendCodePoint(b) sb.appendCodePoint sb b b = readByte() b readByte() readByte return sb.toString(); sb.toString() sb.toString sb public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        } close {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        } try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } IOException e {
                e.printStackTrace();
            } e.printStackTrace() e.printStackTrace e {
                in.close();
            } in.close() in.close in Closeable public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastScanner in = new FastScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        CTrainTicket solver = new CTrainTicket();
        solver.solve(1, in, out);
        out.close();
    }

    static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    }

    static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

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

    static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    }

    static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

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

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

    static class CTrainTicket {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            char[] chars = in.next().toCharArray();
            int[] nums = new int[4];
            for (int i = 0; i < 4; i++) {
                nums[i] = Character.getNumericValue(chars[i]);
            }
            for (int i = 0; i < 8; i++) {
                int sum = nums[0];
                StringBuilder ans = new StringBuilder();
                ans.append(sum);
                for (int j = 0; j < 3; j++) {
                    if (((i >> j) & 1) == 0) {
                        sum += nums[j + 1];
                        ans.append('+');
                    } else {
                        sum -= nums[j + 1];
                        ans.append('-');
                    }
                    ans.append(nums[j + 1]);
                }
                if (sum == 7) {
                    ans.append("=7");
                    out.println(ans.toString());
                    return;
                }
            }
        }

    }

    static class FastScanner implements Closeable {
        private final InputStream in;
        private final byte[] buffer = new byte[1024];
        private int ptr = 0;
        private int buflen = 0;

        public FastScanner(InputStream in) {
            this.in = in;
        }

        private boolean hasNextByte() {
            if (ptr < buflen) {
                return true;
            } else {
                ptr = 0;
                try {
                    buflen = in.read(buffer);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (buflen <= 0) {
                    return false;
                }
            }
            return true;
        }

        private int readByte() {
            if (hasNextByte()) return buffer[ptr++];
            else return -1;
        }

        private static boolean isPrintableChar(int c) {
            return 33 <= c && c <= 126;
        }

        public boolean hasNext() {
            while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
            return hasNextByte();
        }

        public String next() {
            if (!hasNext()) throw new NoSuchElementException();
            StringBuilder sb = new StringBuilder();
            int b = readByte();
            while (isPrintableChar(b)) {
                sb.appendCodePoint(b);
                b = readByte();
            }
            return sb.toString();
        }

        public void close() {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }
}

