import java.util.*;
import java.io.*;

public class Main {
    // static int bits;
    static int[] numbers;
    static String input;
    public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    }
    private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    }

    private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    }

    static final FastScanner sc = new FastScanner(System.in);
    static PrintWriter writer = new PrintWriter(System.out);

    static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    }
    //FAST SCANNER END HERE
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    // static int bits;
    static int[] numbers;
    static String input;
    public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    }
    private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    }

    private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    }

    static final FastScanner sc = new FastScanner(System.in);
    static PrintWriter writer = new PrintWriter(System.out);

    static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    }
    //FAST SCANNER END HERE
} Main // static int bits;
    static int[] numbers; numbers static String input; input static final FastScanner sc = new FastScanner(System.in); sc new FastScanner(System.in) static PrintWriter writer = new PrintWriter(System.out); writer new PrintWriter(System.out) public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    } main {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    } input = sc.nextStr() input sc.nextStr() sc.nextStr sc numbers = new int[input.length()] numbers new int[input.length()] input.length() input.length input for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        } int i = 0; int i = 0; i 0 i < input.length() i input.length() input.length input i++ i++ i {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        } {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        } numbers[i] = Character.getNumericValue(input.charAt(i)) numbers[i] numbers i Character.getNumericValue(input.charAt(i)) Character.getNumericValue Character input.charAt(i) input.charAt input i for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        } int bits = 0; int bits = 0; bits 0 bits < (1 << 3) bits (1 << 3) 1 3 bits++ bits++ bits {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        } {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        } int sum = resolve(bits, numbers); sum resolve(bits, numbers) resolve bits numbers if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            } sum == 7 sum 7 {
                writer.println(genAnswer(bits, numbers));
                break;
            } writer.println(genAnswer(bits, numbers)) writer.println writer genAnswer(bits, numbers) genAnswer bits numbers break; writer.flush() writer.flush writer String[] args args private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    } genAnswer {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    } StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(String.valueOf(numbers[0])) sb.append sb String.valueOf(numbers[0]) String.valueOf String numbers[0] numbers 0 for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        } {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        } if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            } (bits & (1 << i)) != 0 (bits & (1 << i)) bits (1 << i) 1 i 0 {
                sb.append("+");
            } sb.append("+") sb.append sb "+" {
                sb.append("-");
            } sb.append("-") sb.append sb "-" sb.append(String.valueOf(numbers[i+1])) sb.append sb String.valueOf(numbers[i+1]) String.valueOf String numbers[i+1] numbers i+1 i 1 sb.append("=7") sb.append sb "=7" return sb.toString(); sb.toString() sb.toString sb int bits bits int[] numbers numbers private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    } resolve {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    } if (numbers.length != 4) return -1; numbers.length != 4 numbers.length numbers numbers.length 4 return -1; -1 1 int sum = numbers[0]; sum numbers[0] numbers 0 for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        } {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        } if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            } (bits & (1 << i)) != 0 (bits & (1 << i)) bits (1 << i) 1 i 0 {
                sum += numbers[i+1];
                // sb.append("+");
            } sum += numbers[i+1] sum numbers[i+1] numbers i+1 i 1 {
                sum -= numbers[i+1];
                // sb.append("-");
            } sum -= numbers[i+1] sum numbers[i+1] numbers i+1 i 1 return sum; sum int bits bits int[] numbers numbers static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    } FastScanner Reader input; input FastScanner() {
            this(System.in);
        } FastScanner {
            this(System.in);
        } this(System.in) this System.in System System.in FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        } FastScanner {
            this.input = new BufferedReader(new InputStreamReader(stream));
        } this.input = new BufferedReader(new InputStreamReader(stream)) this.input this this.input new BufferedReader(new InputStreamReader(stream)) InputStream stream stream int nextInt() {
            return (int) nextLong();
        } nextInt {
            return (int) nextLong();
        } return (int) nextLong(); (int) nextLong() nextLong long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        } nextLong {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        } try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            } IOException e {
                e.printStackTrace();
                return -1;
            } e.printStackTrace() e.printStackTrace e return -1; -1 1 {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } int sign = 1; sign 1 int b = input.read(); b input.read() input.read input while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                } (b < '0' || '9' < b) && b != '-' && b != '+' (b < '0' || '9' < b) && b != '-' && b != '+' (b < '0' || '9' < b) b < '0' b '0' '9' < b '9' b b != '-' b '-' b != '+' b '+' {
                    b = input.read();
                } b = input.read() b input.read() input.read input if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                } b == '-' b '-' {
                    sign = -1;
                    b = input.read();
                } sign = -1 sign -1 1 b = input.read() b input.read() input.read input if (b == '+') {
                    b = input.read();
                } b == '+' b '+' {
                    b = input.read();
                } b = input.read() b input.read() input.read input long ret = b - '0'; ret b - '0' b '0' while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                } true {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                } b = input.read() b input.read() input.read input if (b < '0' || '9' < b) return ret * sign; b < '0' || '9' < b b < '0' b '0' '9' < b '9' b return ret * sign; ret * sign ret sign ret *= 10 ret 10 ret += b - '0' ret b - '0' b '0' double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        } nextDouble {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        } try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            } IOException e {
                e.printStackTrace();
                return Double.NaN;
            } e.printStackTrace() e.printStackTrace e return Double.NaN; Double.NaN Double Double.NaN {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } double sign = 1; sign 1 int b = input.read(); b input.read() input.read input while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                } (b < '0' || '9' < b) && b != '-' && b != '+' (b < '0' || '9' < b) && b != '-' && b != '+' (b < '0' || '9' < b) b < '0' b '0' '9' < b '9' b b != '-' b '-' b != '+' b '+' {
                    b = input.read();
                } b = input.read() b input.read() input.read input if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                } b == '-' b '-' {
                    sign = -1;
                    b = input.read();
                } sign = -1 sign -1 1 b = input.read() b input.read() input.read input if (b == '+') {
                    b = input.read();
                } b == '+' b '+' {
                    b = input.read();
                } b = input.read() b input.read() input.read input double ret = b - '0'; ret b - '0' b '0' while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                } true {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                } b = input.read() b input.read() input.read input if (b < '0' || '9' < b) break; b < '0' || '9' < b b < '0' b '0' '9' < b '9' b break; ret *= 10 ret 10 ret += b - '0' ret b - '0' b '0' if (b != '.') return sign * ret; b != '.' b '.' return sign * ret; sign * ret sign ret double div = 1; div 1 b = input.read() b input.read() input.read input while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                } '0' <= b && b <= '9' '0' <= b '0' b b <= '9' b '9' {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                } ret *= 10 ret 10 ret += b - '0' ret b - '0' b '0' div *= 10 div 10 b = input.read() b input.read() input.read input return sign * ret / div; sign * ret / div sign * ret sign ret div char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        } nextChar {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        } try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            } IOException e {
                e.printStackTrace();
                return 0;
            } e.printStackTrace() e.printStackTrace e return 0; 0 {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } int b = input.read(); b input.read() input.read input while (Character.isWhitespace(b)) {
                    b = input.read();
                } Character.isWhitespace(b) Character.isWhitespace Character b {
                    b = input.read();
                } b = input.read() b input.read() input.read input return (char) b; (char) b String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        } nextStr {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        } try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            } IOException e {
                e.printStackTrace();
                return "";
            } e.printStackTrace() e.printStackTrace e return ""; "" {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } StringBuilder sb = new StringBuilder(); sb new StringBuilder() int b = input.read(); b input.read() input.read input while (Character.isWhitespace(b)) {
                    b = input.read();
                } Character.isWhitespace(b) Character.isWhitespace Character b {
                    b = input.read();
                } b = input.read() b input.read() input.read input while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                } b != -1 && !Character.isWhitespace(b) b != -1 b -1 1 !Character.isWhitespace(b) Character.isWhitespace(b) Character.isWhitespace Character b {
                    sb.append((char) b);
                    b = input.read();
                } sb.append((char) b) sb.append sb (char) b b = input.read() b input.read() input.read input return sb.toString(); sb.toString() sb.toString sb public class Main {
    // static int bits;
    static int[] numbers;
    static String input;
    public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    }
    private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    }

    private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    }

    static final FastScanner sc = new FastScanner(System.in);
    static PrintWriter writer = new PrintWriter(System.out);

    static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    }
    //FAST SCANNER END HERE
} public class Main {
    // static int bits;
    static int[] numbers;
    static String input;
    public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    }
    private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    }

    private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    }

    static final FastScanner sc = new FastScanner(System.in);
    static PrintWriter writer = new PrintWriter(System.out);

    static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    }
    //FAST SCANNER END HERE
} Main
import java.util.*;
import java.io.*;

public class Main {
    // static int bits;
    static int[] numbers;
    static String input;
    public static void main(String[] args) {
        input = sc.nextStr();
        numbers = new int[input.length()];
        for (int i = 0; i < input.length(); i++) {
            numbers[i] = Character.getNumericValue(input.charAt(i));
        }
        for (int bits = 0; bits < (1 << 3); bits++) {
            int sum = resolve(bits, numbers);
            // writer.println(sum);
            if (sum == 7) {
                writer.println(genAnswer(bits, numbers));
                break;
            }
        }
        writer.flush();
    }
    private static String genAnswer(int bits, int[] numbers) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if((bits & (1 << i)) != 0) {
                sb.append("+");
            } else {
                sb.append("-");
            }
            sb.append(String.valueOf(numbers[i+1]));
        }
        sb.append("=7");
        return sb.toString();
    }

    private static int resolve(int bits,int[] numbers) {
        if (numbers.length != 4) return -1;
        int sum = numbers[0];
        // StringBuilder sb = new StringBuilder();
        // sb.append(String.valueOf(numbers[0]));
        for (int i = 0; i < 3; i++) {
            if ((bits & (1 << i)) != 0) {
                sum += numbers[i+1];
                // sb.append("+");
            } else {
                sum -= numbers[i+1];
                // sb.append("-");
            }
        }
        return sum;
    }

    static final FastScanner sc = new FastScanner(System.in);
    static PrintWriter writer = new PrintWriter(System.out);

    static class FastScanner {
        Reader input;
 
        FastScanner() {
            this(System.in);
        }
 
        FastScanner(InputStream stream) {
            this.input = new BufferedReader(new InputStreamReader(stream));
        }
 
        int nextInt() {
            return (int) nextLong();
        }
 
        long nextLong() {
            try {
                int sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                long ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) return ret * sign;
                    ret *= 10;
                    ret += b - '0';
                }
            } catch (IOException e) {
                e.printStackTrace();
                return -1;
            }
        }
 
        double nextDouble() {
            try {
                double sign = 1;
                int b = input.read();
                while ((b < '0' || '9' < b) && b != '-' && b != '+') {
                    b = input.read();
                }
                if (b == '-') {
                    sign = -1;
                    b = input.read();
                } else if (b == '+') {
                    b = input.read();
                }
                double ret = b - '0';
                while (true) {
                    b = input.read();
                    if (b < '0' || '9' < b) break;
                    ret *= 10;
                    ret += b - '0';
                }
                if (b != '.') return sign * ret;
                double div = 1;
                b = input.read();
                while ('0' <= b && b <= '9') {
                    ret *= 10;
                    ret += b - '0';
                    div *= 10;
                    b = input.read();
                }
                return sign * ret / div;
            } catch (IOException e) {
                e.printStackTrace();
                return Double.NaN;
            }
        }
 
        char nextChar() {
            try {
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                return (char) b;
            } catch (IOException e) {
                e.printStackTrace();
                return 0;
            }
        }
 
        String nextStr() {
            try {
                StringBuilder sb = new StringBuilder();
                int b = input.read();
                while (Character.isWhitespace(b)) {
                    b = input.read();
                }
                while (b != -1 && !Character.isWhitespace(b)) {
                    sb.append((char) b);
                    b = input.read();
                }
                return sb.toString();
            } catch (IOException e) {
                e.printStackTrace();
                return "";
            }
        }
    }
    //FAST SCANNER END HERE
}
