import java.io.*;
import java.lang.*;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.math.BigInteger;

public class Main {
    static InputReader in = new InputReader(System.in);
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    }

    static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    }
}
 import java.io.*; io.* java import java.lang.*; lang.* java import java.io.InputStream; InputStream java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io import java.io.OutputStream; OutputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.io.IOException; IOException java.io import java.util.ArrayList; ArrayList java.util import java.util.StringTokenizer; StringTokenizer java.util import java.math.BigInteger; BigInteger java.math public class Main {
    static InputReader in = new InputReader(System.in);
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    }

    static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    }
} Main static InputReader in = new InputReader(System.in); in new InputReader(System.in) static PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    } main {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    } String s = in.next(); s in.next() in.next in int[] a = new int[4]; a new int[4] 4 for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        } int i = 0; int i = 0; i 0 i<4 i 4 i++ i++ i {
            a[i] = Integer.parseInt(s.substring(i,i+1));
        } {
            a[i] = Integer.parseInt(s.substring(i,i+1));
        } a[i] = Integer.parseInt(s.substring(i,i+1)) a[i] a i Integer.parseInt(s.substring(i,i+1)) Integer.parseInt Integer s.substring(i,i+1) s.substring s i i+1 i 1 boolean check = true; check true for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        } int i = 0; int i = 0; i 0 i<2 i 2 i++ i++ i {
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        } {
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        } for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            } int j = 0; int j = 0; j 0 j<2 j 2 j++ j++ j {
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            } {
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            } for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                } int k = 0; int k = 0; k 0 k<2 k 2 k++ k++ k {
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                } {
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                } int sum = a[0]; sum a[0] a 0 String[] c = new String[3]; c new String[3] 3 if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    } i==0 i 0 {
                        sum += a[1];
                        c[0] = "+";
                    } sum += a[1] sum a[1] a 1 c[0] = "+" c[0] c 0 "+" {
                        sum -= a[1];
                        c[0] = "-";
                    } sum -= a[1] sum a[1] a 1 c[0] = "-" c[0] c 0 "-" if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    } j==0 j 0 {
                        sum += a[2];
                        c[1] = "+";
                    } sum += a[2] sum a[2] a 2 c[1] = "+" c[1] c 1 "+" {
                        sum -= a[2];
                        c[1] = "-";
                    } sum -= a[2] sum a[2] a 2 c[1] = "-" c[1] c 1 "-" if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    } k==0 k 0 {
                        sum += a[3];
                        c[2] = "+";
                    } sum += a[3] sum a[3] a 3 c[2] = "+" c[2] c 2 "+" {
                        sum -= a[3];
                        c[2] = "-";
                    } sum -= a[3] sum a[3] a 3 c[2] = "-" c[2] c 2 "-" if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    } sum==7 sum 7 {
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    } out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7") out.println out a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7" a[3] c[2] a[2] c[1] a[1] a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7" a[0] a 0 c[0] c 0 a[1] a 1 c[1] c 1 a[2] a 2 c[2] c 2 a[3] a 3 "=7" check = false check false break; if(!check) break; !check check break; if(!check) break; !check check break; out.close() out.close out String[] args args static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    } InputReader public BufferedReader reader; reader public StringTokenizer tokenizer; tokenizer public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        } InputReader {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        } reader = new BufferedReader(new InputStreamReader(stream), 32768) reader new BufferedReader(new InputStreamReader(stream), 32768) tokenizer = null tokenizer null InputStream stream stream public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        } next {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        } while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            } tokenizer == null || !tokenizer.hasMoreTokens() tokenizer == null tokenizer null !tokenizer.hasMoreTokens() tokenizer.hasMoreTokens() tokenizer.hasMoreTokens tokenizer {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            } try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                } catch (IOException e) {
                    throw new RuntimeException(e);
                } IOException e {
                    throw new RuntimeException(e);
                } throw new RuntimeException(e); new RuntimeException(e) {
                    tokenizer = new StringTokenizer(reader.readLine());
                } tokenizer = new StringTokenizer(reader.readLine()) tokenizer new StringTokenizer(reader.readLine()) return tokenizer.nextToken(); tokenizer.nextToken() tokenizer.nextToken tokenizer public int nextInt() {
            return Integer.parseInt(next());
        } nextInt {
            return Integer.parseInt(next());
        } return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next public long nextLong() {
            return Long.parseLong(next());
        } nextLong {
            return Long.parseLong(next());
        } return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next public double nextDouble() {
            return Double.parseDouble(next());
        } nextDouble {
            return Double.parseDouble(next());
        } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        } nextLine {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        } try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            } catch (Exception e) {
                e.printStackTrace();
            } Exception e {
                e.printStackTrace();
            } e.printStackTrace() e.printStackTrace e {
                return reader.readLine();
            } return reader.readLine(); reader.readLine() reader.readLine reader return null; null public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        } hasNext {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        } String next = null; next null try {
                next = reader.readLine();
            } catch (Exception e) {
            } catch (Exception e) {
            } Exception e {
            } {
                next = reader.readLine();
            } next = reader.readLine() next reader.readLine() reader.readLine reader if (next == null) {
                return false;
            } next == null next null {
                return false;
            } return false; false tokenizer = new StringTokenizer(next) tokenizer new StringTokenizer(next) return true; true public BigInteger nextBigInteger() {
            return new BigInteger(next());
        } nextBigInteger {
            return new BigInteger(next());
        } return new BigInteger(next()); new BigInteger(next()) public class Main {
    static InputReader in = new InputReader(System.in);
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    }

    static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    }
} public class Main {
    static InputReader in = new InputReader(System.in);
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    }

    static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    }
} Main
import java.io.*;
import java.lang.*;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.math.BigInteger;

public class Main {
    static InputReader in = new InputReader(System.in);
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        String s = in.next();
        int[] a = new int[4];
        for(int i = 0; i<4; i++){
            a[i] = Integer.parseInt(s.substring(i,i+1));
        }
        boolean check = true;
        for(int i = 0; i<2; i++){
            for(int j = 0; j<2; j++){
                for(int k = 0; k<2; k++){
                    int sum = a[0];
                    String[] c = new String[3];
                    if(i==0){
                        sum += a[1];
                        c[0] = "+";
                    }
                    else{
                        sum -= a[1];
                        c[0] = "-";
                    }
                    if(j==0){
                        sum += a[2];
                        c[1] = "+";
                    }
                    else{
                        sum -= a[2];
                        c[1] = "-";
                    }if(k==0){
                        sum += a[3];
                        c[2] = "+";
                    }
                    else{
                        sum -= a[3];
                        c[2] = "-";
                    }
                    if(sum==7){
                        out.println(a[0] + c[0] + a[1] + c[1] + a[2] + c[2] + a[3]+"=7");
                        check = false;
                        break;
                    }
                }
                if(!check) break;
            }
            if(!check) break;
        }
        out.close();
    }

    static class InputReader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

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

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

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

        public String nextLine() {
            try {
                return reader.readLine();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return null;
        }

        public boolean hasNext() {
            String next = null;
            try {
                next = reader.readLine();
            } catch (Exception e) {
            }
            if (next == null) {
                return false;
            }
            tokenizer = new StringTokenizer(next);
            return true;
        }

        public BigInteger nextBigInteger() {
            return new BigInteger(next());
        }
    }
}

