import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.util.NoSuchElementException;

public class Main {

    static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    }

    public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    }

    static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
} import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.InputMismatchException; InputMismatchException java.util import java.util.NoSuchElementException; NoSuchElementException java.util public class Main {

    static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    }

    public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    }

    static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
} Main static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    } exec {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    } String s = in.next(); s in.next() in.next in int A = Integer.valueOf(s.substring(0, 1)); A Integer.valueOf(s.substring(0, 1)) Integer.valueOf Integer s.substring(0, 1) s.substring s 0 1 int B = Integer.valueOf(s.substring(1, 2)); B Integer.valueOf(s.substring(1, 2)) Integer.valueOf Integer s.substring(1, 2) s.substring s 1 2 int C = Integer.valueOf(s.substring(2, 3)); C Integer.valueOf(s.substring(2, 3)) Integer.valueOf Integer s.substring(2, 3) s.substring s 2 3 int D = Integer.valueOf(s.substring(3, 4)); D Integer.valueOf(s.substring(3, 4)) Integer.valueOf Integer s.substring(3, 4) s.substring s 3 4 int bit = 0; bit 0 while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        } true {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        } int n = A; n A n += ((bit & 4) == 0 ? 1 : -1) * B n ((bit & 4) == 0 ? 1 : -1) * B ((bit & 4) == 0 ? 1 : -1) (bit & 4) == 0 (bit & 4) bit 4 0 1 -1 1 B n += ((bit & 2) == 0 ? 1 : -1) * C n ((bit & 2) == 0 ? 1 : -1) * C ((bit & 2) == 0 ? 1 : -1) (bit & 2) == 0 (bit & 2) bit 2 0 1 -1 1 C n += ((bit & 1) == 0 ? 1 : -1) * D n ((bit & 1) == 0 ? 1 : -1) * D ((bit & 1) == 0 ? 1 : -1) (bit & 1) == 0 (bit & 1) bit 1 0 1 -1 1 D if (n == 7)
                break; n == 7 n 7 break; bit += 1 bit 1 out.print(A) out.print out A out.print((bit & 4) == 0 ? '+' : '-') out.print out (bit & 4) == 0 ? '+' : '-' (bit & 4) == 0 (bit & 4) bit 4 0 '+' '-' out.print(B) out.print out B out.print((bit & 2) == 0 ? '+' : '-') out.print out (bit & 2) == 0 ? '+' : '-' (bit & 2) == 0 (bit & 2) bit 2 0 '+' '-' out.print(C) out.print out C out.print((bit & 1) == 0 ? '+' : '-') out.print out (bit & 1) == 0 ? '+' : '-' (bit & 1) == 0 (bit & 1) bit 1 0 '+' '-' out.print(D) out.print out D out.println("=7") out.println out "=7" MyScanner in in PrintWriter out out public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    } main {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    } PrintWriter w = new PrintWriter(System.out); w new PrintWriter(System.out) exec(new MyScanner(System.in), w) exec new MyScanner(System.in) w w.flush() w.flush w String[] args args static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    } MyScanner static final int BUFFER_SIZE = 8192; BUFFER_SIZE 8192 private final InputStream in; in private final byte[] buffer = new byte[BUFFER_SIZE]; buffer new byte[BUFFER_SIZE] BUFFER_SIZE private int point; point private int readLength; readLength MyScanner(InputStream in) {
            this.in = in;
        } MyScanner {
            this.in = in;
        } this.in = in this.in this this.in in InputStream in in private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        } readByte {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        } if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            } point < readLength point readLength {
                int result = buffer[point];
                point += 1;
                return result;
            } int result = buffer[point]; result buffer[point] buffer point point += 1 point 1 return result; result try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } IOException e {
                e.printStackTrace();
            } e.printStackTrace() e.printStackTrace e {
                readLength = in.read(buffer);
            } readLength = in.read(buffer) readLength in.read(buffer) in.read in buffer if (readLength == -1) {
                return -1;
            } readLength == -1 readLength -1 1 {
                return -1;
            } return -1; -1 1 point = 1 point 1 return buffer[0]; buffer[0] buffer 0 private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        } isPrintableCharExceptSpace {
            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 String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        } next {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        } StringBuilder b = new StringBuilder(); b new StringBuilder() int c = readByte(); c readByte() readByte while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            } !(c == -1 || isPrintableCharExceptSpace(c)) (c == -1 || isPrintableCharExceptSpace(c)) c == -1 c -1 1 isPrintableCharExceptSpace(c) isPrintableCharExceptSpace c {
                c = readByte();
            } c = readByte() c readByte() readByte if (c == -1) {
                throw new NoSuchElementException();
            } c == -1 c -1 1 {
                throw new NoSuchElementException();
            } throw new NoSuchElementException(); new NoSuchElementException() do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c)); c != -1 && isPrintableCharExceptSpace(c) c != -1 c -1 1 isPrintableCharExceptSpace(c) isPrintableCharExceptSpace c {
                b.appendCodePoint(c);
                c = readByte();
            } b.appendCodePoint(c) b.appendCodePoint b c c = readByte() c readByte() readByte return b.toString(); b.toString() b.toString b long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        } nextLong {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        } int c = readByte(); c readByte() readByte while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            } !(c == -1 || isPrintableCharExceptSpace(c)) (c == -1 || isPrintableCharExceptSpace(c)) c == -1 c -1 1 isPrintableCharExceptSpace(c) isPrintableCharExceptSpace c {
                c = readByte();
            } c = readByte() c readByte() readByte if (c == -1) {
                throw new NoSuchElementException();
            } c == -1 c -1 1 {
                throw new NoSuchElementException();
            } throw new NoSuchElementException(); new NoSuchElementException() boolean minus = false; minus false if (c == '-') {
                minus = true;
                c = readByte();
            } c == '-' c '-' {
                minus = true;
                c = readByte();
            } minus = true minus true c = readByte() c readByte() readByte long result = 0L; result 0L do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c)); c != -1 && isPrintableCharExceptSpace(c) c != -1 c -1 1 isPrintableCharExceptSpace(c) isPrintableCharExceptSpace c {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                } !('0' <= c && c <= '9') ('0' <= c && c <= '9') '0' <= c '0' c c <= '9' c '9' {
                    throw new InputMismatchException();
                } throw new InputMismatchException(); new InputMismatchException() result = result * 10L + (c - '0') result result * 10L + (c - '0') result * 10L result 10L (c - '0') c '0' c = readByte() c readByte() readByte return minus ? -result : result; minus ? -result : result minus -result result result int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        } nextInt {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        } long n = nextLong(); n nextLong() nextLong if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            } Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE Integer.MIN_VALUE <= n Integer.MIN_VALUE Integer Integer.MIN_VALUE n n <= Integer.MAX_VALUE n Integer.MAX_VALUE Integer Integer.MAX_VALUE {
                return (int) n;
            } return (int) n; (int) n throw new InputMismatchException(); new InputMismatchException() double nextDouble() {
            return Double.parseDouble(next());
        } nextDouble {
            return Double.parseDouble(next());
        } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next public class Main {

    static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    }

    public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    }

    static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
} public class Main {

    static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    }

    public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    }

    static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
} Main
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.util.NoSuchElementException;

public class Main {

    static void exec(MyScanner in, PrintWriter out) {
        String s = in.next();
        int A = Integer.valueOf(s.substring(0, 1));
        int B = Integer.valueOf(s.substring(1, 2));;
        int C = Integer.valueOf(s.substring(2, 3));;
        int D = Integer.valueOf(s.substring(3, 4));;
        int bit = 0;
        while (true) {
            int n = A;
            n += ((bit & 4) == 0 ? 1 : -1) * B;
            n += ((bit & 2) == 0 ? 1 : -1) * C;
            n += ((bit & 1) == 0 ? 1 : -1) * D;
            if (n == 7)
                break;
            bit += 1;
        }
        out.print(A);
        out.print((bit & 4) == 0 ? '+' : '-');
        out.print(B);
        out.print((bit & 2) == 0 ? '+' : '-');
        out.print(C);
        out.print((bit & 1) == 0 ? '+' : '-');
        out.print(D);
        out.println("=7");
    }

    public static void main(String[] args) {
        PrintWriter w = new PrintWriter(System.out);
        exec(new MyScanner(System.in), w);
        w.flush();
    }

    static final class MyScanner {
        static final int BUFFER_SIZE = 8192;
        private final InputStream in;
        private final byte[] buffer = new byte[BUFFER_SIZE];
        private int point;
        private int readLength;
        MyScanner(InputStream in) {
            this.in = in;
        }
        private int readByte() {
            if (point < readLength) {
                int result = buffer[point];
                point += 1;
                return result;
            }
            try {
                readLength = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (readLength == -1) {
                return -1;
            }
            point = 1;
            return buffer[0];
        }
        private static boolean isPrintableCharExceptSpace(int c) {
            return 33 <= c && c <= 126;
        }
        String next() {
            StringBuilder b = new StringBuilder();
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            do {
                b.appendCodePoint(c);
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return b.toString();
        }
        long nextLong() {
            int c = readByte();
            while (!(c == -1 || isPrintableCharExceptSpace(c))) {
                c = readByte();
            }
            if (c == -1) {
                throw new NoSuchElementException();
            }
            boolean minus = false;
            if (c == '-') {
                minus = true;
                c = readByte();
            }
            long result = 0L;
            do {
                if (!('0' <= c && c <= '9')) {
                    throw new InputMismatchException();
                }
                result = result * 10L + (c - '0');
                c = readByte();
            } while (c != -1 && isPrintableCharExceptSpace(c));
            return minus ? -result : result;
        }
        int nextInt() {
            long n = nextLong();
            if (Integer.MIN_VALUE <= n && n <= Integer.MAX_VALUE) {
                return (int) n;
            }
            throw new InputMismatchException();
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
}
