import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    }

    void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    }
}

class InputReader implements AutoCloseable {
    private final Scanner sc = new Scanner(System.in);

    String next() {
        return this.sc.next();
    }

    int nextInt() {
        return Integer.parseInt(this.sc.next());
    }

    long nextLong() {
        return Long.parseLong(this.sc.next());
    }

    double nextDouble() {
        return Double.parseDouble(this.sc.next());
    }

    @Override
    public void close() {
        this.sc.close();
    }
} import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    }

    void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    } main {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    } try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        } {
            new Main().solve(in, out);
            out.flush();
        } InputReader in = new InputReader() InputReader in = new InputReader() new InputReader() PrintWriter out = new PrintWriter(System.out) PrintWriter out = new PrintWriter(System.out) new PrintWriter(System.out) new Main().solve(in, out) new Main().solve new Main() in out out.flush() out.flush out String[] args args void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    } solve {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    } String abcd = in.next(); abcd in.next() in.next in for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        } int i = 0; int i = 0; i 0 i < (1 << 3) i (1 << 3) 1 3 i++ i++ i {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        } {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        } int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0))); tmp Integer.parseInt(String.valueOf(abcd.charAt(0))) Integer.parseInt Integer String.valueOf(abcd.charAt(0)) String.valueOf String abcd.charAt(0) abcd.charAt abcd 0 StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0))); sb new StringBuilder(String.valueOf(abcd.charAt(0))) for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            } {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            } if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                } 1 == ((i >> j) & 1) 1 ((i >> j) & 1) (i >> j) i j 1 {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1))) tmp Integer.parseInt(String.valueOf(abcd.charAt(j + 1))) Integer.parseInt Integer String.valueOf(abcd.charAt(j + 1)) String.valueOf String abcd.charAt(j + 1) abcd.charAt abcd j + 1 j 1 sb.append("+") sb.append sb "+" {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                } tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1))) tmp Integer.parseInt(String.valueOf(abcd.charAt(j + 1))) Integer.parseInt Integer String.valueOf(abcd.charAt(j + 1)) String.valueOf String abcd.charAt(j + 1) abcd.charAt abcd j + 1 j 1 sb.append("-") sb.append sb "-" sb.append(abcd.charAt(j + 1)) sb.append sb abcd.charAt(j + 1) abcd.charAt abcd j + 1 j 1 if (tmp == 7) {
                out.println(sb + "=7");
                return;
            } tmp == 7 tmp 7 {
                out.println(sb + "=7");
                return;
            } out.println(sb + "=7") out.println out sb + "=7" sb "=7" return; final InputReader in in final PrintWriter out out class InputReader implements AutoCloseable {
    private final Scanner sc = new Scanner(System.in);

    String next() {
        return this.sc.next();
    }

    int nextInt() {
        return Integer.parseInt(this.sc.next());
    }

    long nextLong() {
        return Long.parseLong(this.sc.next());
    }

    double nextDouble() {
        return Double.parseDouble(this.sc.next());
    }

    @Override
    public void close() {
        this.sc.close();
    }
} InputReader private final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String next() {
        return this.sc.next();
    } next {
        return this.sc.next();
    } return this.sc.next(); this.sc.next() this.sc.next this.sc this this.sc int nextInt() {
        return Integer.parseInt(this.sc.next());
    } nextInt {
        return Integer.parseInt(this.sc.next());
    } return Integer.parseInt(this.sc.next()); Integer.parseInt(this.sc.next()) Integer.parseInt Integer this.sc.next() this.sc.next this.sc this this.sc long nextLong() {
        return Long.parseLong(this.sc.next());
    } nextLong {
        return Long.parseLong(this.sc.next());
    } return Long.parseLong(this.sc.next()); Long.parseLong(this.sc.next()) Long.parseLong Long this.sc.next() this.sc.next this.sc this this.sc double nextDouble() {
        return Double.parseDouble(this.sc.next());
    } nextDouble {
        return Double.parseDouble(this.sc.next());
    } return Double.parseDouble(this.sc.next()); Double.parseDouble(this.sc.next()) Double.parseDouble Double this.sc.next() this.sc.next this.sc this this.sc @Override
    public void close() {
        this.sc.close();
    } close {
        this.sc.close();
    } this.sc.close() this.sc.close this.sc this this.sc AutoCloseable public class Main {
    public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    }

    void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    }

    void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    }
} Main
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (InputReader in = new InputReader(); PrintWriter out = new PrintWriter(System.out)) {
            new Main().solve(in, out);
            out.flush();
        }
    }

    void solve(final InputReader in, final PrintWriter out) {
        String abcd = in.next();
        for (int i = 0; i < (1 << 3); i++) {
            int tmp = Integer.parseInt(String.valueOf(abcd.charAt(0)));
            StringBuilder sb = new StringBuilder(String.valueOf(abcd.charAt(0)));
            for (int j = 0; j < 3; j++) {
                if (1 == ((i >> j) & 1)) {
                    tmp += Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("+");
                } else {
                    tmp -= Integer.parseInt(String.valueOf(abcd.charAt(j + 1)));
                    sb.append("-");
                }
                sb.append(abcd.charAt(j + 1));
            }

            if (tmp == 7) {
                out.println(sb + "=7");
                return;
            }
        }
    }
}

class InputReader implements AutoCloseable {
    private final Scanner sc = new Scanner(System.in);

    String next() {
        return this.sc.next();
    }

    int nextInt() {
        return Integer.parseInt(this.sc.next());
    }

    long nextLong() {
        return Long.parseLong(this.sc.next());
    }

    double nextDouble() {
        return Double.parseDouble(this.sc.next());
    }

    @Override
    public void close() {
        this.sc.close();
    }
}
