import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.OutputStream;
import java.io.IOException;
import java.io.FileReader;
import java.io.FileWriter;

import java.util.*;
import java.util.stream.LongStream;

public class Main {
    // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    }

    // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    }

    // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    }

    /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    }



    public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    }

}
 import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintWriter; PrintWriter java.io import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.FileReader; FileReader java.io import java.io.FileWriter; FileWriter java.io import java.util.*; util.* java import java.util.stream.LongStream; LongStream java.util.stream public class Main {
    // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    }

    // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    }

    // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    }

    /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    }



    public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    }

} Main // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    } inputval {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    } String[] strarray = br.readLine().trim().split(" "); strarray br.readLine().trim().split(" ") br.readLine().trim().split br.readLine().trim() br.readLine().trim br.readLine() br.readLine br " " int[] intarray = new int[strarray.length]; intarray new int[strarray.length] strarray.length strarray strarray.length for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        } int i = 0; int i = 0; i 0 i < intarray.length i intarray.length intarray intarray.length i++ i++ i {
            intarray[i] = Integer.parseInt(strarray[i]);
        } {
            intarray[i] = Integer.parseInt(strarray[i]);
        } intarray[i] = Integer.parseInt(strarray[i]) intarray[i] intarray i Integer.parseInt(strarray[i]) Integer.parseInt Integer strarray[i] strarray i return intarray; intarray /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    } inputLongArr {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    } String[] strarray = br.readLine().trim().split(" "); strarray br.readLine().trim().split(" ") br.readLine().trim().split br.readLine().trim() br.readLine().trim br.readLine() br.readLine br " " long[] longarray = new long[strarray.length]; longarray new long[strarray.length] strarray.length strarray strarray.length for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        } int i = 0; int i = 0; i 0 i < longarray.length i longarray.length longarray longarray.length i++ i++ i {
            longarray[i] = Long.parseLong(strarray[i]);
        } {
            longarray[i] = Long.parseLong(strarray[i]);
        } longarray[i] = Long.parseLong(strarray[i]) longarray[i] longarray i Long.parseLong(strarray[i]) Long.parseLong Long strarray[i] strarray i return longarray; longarray // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    } inputIntList {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    } List<String> strList = Arrays.asList(br.readLine().trim().split(" ")); strList Arrays.asList(br.readLine().trim().split(" ")) Arrays.asList Arrays br.readLine().trim().split(" ") br.readLine().trim().split br.readLine().trim() br.readLine().trim br.readLine() br.readLine br " " List<Integer> intList = new ArrayList<Integer>(); intList new ArrayList<Integer>() for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        } String elem strList {
            intList.add(Integer.parseInt(elem));
        } {
            intList.add(Integer.parseInt(elem));
        } intList.add(Integer.parseInt(elem)) intList.add intList Integer.parseInt(elem) Integer.parseInt Integer elem return intList; intList // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    } inputvalInteger {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    } String[] strarray = br.readLine().trim().split(" "); strarray br.readLine().trim().split(" ") br.readLine().trim().split br.readLine().trim() br.readLine().trim br.readLine() br.readLine br " " Integer[] intarray = new Integer[strarray.length]; intarray new Integer[strarray.length] strarray.length strarray strarray.length for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        } int i = 0; int i = 0; i 0 i < intarray.length i intarray.length intarray intarray.length i++ i++ i {
            intarray[i] = Integer.parseInt(strarray[i]);
        } {
            intarray[i] = Integer.parseInt(strarray[i]);
        } intarray[i] = Integer.parseInt(strarray[i]) intarray[i] intarray i Integer.parseInt(strarray[i]) Integer.parseInt Integer strarray[i] strarray i return intarray; intarray /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    } inputLong {
        return Long.parseLong(br.readLine());
    } return Long.parseLong(br.readLine()); Long.parseLong(br.readLine()) Long.parseLong Long br.readLine() br.readLine br /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    } inputInt {
        return Integer.parseInt(br.readLine());
    } return Integer.parseInt(br.readLine()); Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    } main {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    } String s = br.readLine(); s br.readLine() br.readLine br int n = s.length()-1; n s.length()-1 s.length() s.length s 1 char [] cl = s.toCharArray(); cl s.toCharArray() s.toCharArray s for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        } int i=0; int i=0; i 0 i< (Math.pow(2,n)) i (Math.pow(2,n)) Math.pow Math 2 n i++ i++ i {
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        } {
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        } long sum = 0; sum 0 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            } int j=0; int j=0; j 0 j<n j n j++ j++ j {
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            } {
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            } sb.append(cl[j]) sb.append sb cl[j] cl j if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                } (1&i>>j) == 1 (1&i>>j) 1 i>>j i j 1 {
                    sb.append('+');
                } sb.append('+') sb.append sb '+' {
                    sb.append('-');
                } sb.append('-') sb.append sb '-' sb.append(cl[n]) sb.append sb cl[n] cl n String tmp = sb.toString(); tmp sb.toString() sb.toString sb sum += Long.parseLong(tmp.substring(0,1)) sum Long.parseLong(tmp.substring(0,1)) Long.parseLong Long tmp.substring(0,1) tmp.substring tmp 0 1 for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            } int k = 1; int k = 1; k 1 k<tmp.length()-1 k tmp.length()-1 tmp.length() tmp.length tmp 1 k++ k++ k {
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            } {
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            } String val = tmp.substring(k+1,k+2); val tmp.substring(k+1,k+2) tmp.substring tmp k+1 k 1 k+2 k 2 if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                } tmp.charAt(k) == '+' tmp.charAt(k) tmp.charAt tmp k '+' {
                    sum += Long.parseLong(val);
                } sum += Long.parseLong(val) sum Long.parseLong(val) Long.parseLong Long val if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                } tmp.charAt(k) == '-' tmp.charAt(k) tmp.charAt tmp k '-' {
                    sum -= Long.parseLong(val);
                } sum -= Long.parseLong(val) sum Long.parseLong(val) Long.parseLong Long val if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            } sum == 7 sum 7 {
                System.out.println(tmp + "=7");
                break;
            } System.out.println(tmp + "=7") System.out.println System.out System System.out tmp + "=7" tmp "=7" break; String[] args args public class Main {
    // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    }

    // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    }

    // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    }

    /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    }



    public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    }

} public class Main {
    // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    }

    // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    }

    // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    }

    /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    }



    public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    }

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.OutputStream;
import java.io.IOException;
import java.io.FileReader;
import java.io.FileWriter;

import java.util.*;
import java.util.stream.LongStream;

public class Main {
    // 標準入力
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    // 標準入力数値配列用 int
    static int[] inputval() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        int[] intarray = new int[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /* 標準入力数値配列用 long */
    static long[] inputLongArr() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        long[] longarray = new long[strarray.length];
        for (int i = 0; i < longarray.length; i++) {
            longarray[i] = Long.parseLong(strarray[i]);
        }
        return longarray;
    }

    // 標準入力数値リスト用 int
    static List<Integer> inputIntList() throws Exception {
        List<String> strList = Arrays.asList(br.readLine().trim().split(" "));
        List<Integer> intList = new ArrayList<Integer>();
        for (String elem : strList){
            intList.add(Integer.parseInt(elem));
        }
        return intList;
    }

    // 標準入力数値配列用 integer 降順ソート用
    static Integer[] inputvalInteger() throws Exception {
        String[] strarray = br.readLine().trim().split(" ");
        Integer[] intarray = new Integer[strarray.length];
        for (int i = 0; i < intarray.length; i++) {
            intarray[i] = Integer.parseInt(strarray[i]);
        }
        return intarray;
    }

    /*標準入力long*/
    static long inputLong() throws Exception {
        return Long.parseLong(br.readLine());
    }

    /*標準入力long*/
    static int inputInt() throws Exception {
        return Integer.parseInt(br.readLine());
    }



    public static void main(String[] args) throws Exception {
        // write your code here
        String s = br.readLine();
        int n = s.length()-1;
        char [] cl = s.toCharArray();
        for(int i=0; i< (Math.pow(2,n)); i++){
            long sum = 0;
            StringBuilder sb = new StringBuilder();
            for(int j=0; j<n; j++){
                sb.append(cl[j]);
                if ((1&i>>j) == 1) {
                    sb.append('+');
                }else{
                    sb.append('-');
                }
            }
            sb.append(cl[n]);
            String tmp = sb.toString();
            sum += Long.parseLong(tmp.substring(0,1));
            for(int k = 1; k<tmp.length()-1; k++){
                String val = tmp.substring(k+1,k+2);
                if(tmp.charAt(k) == '+'){
                    sum += Long.parseLong(val);
                }else if(tmp.charAt(k) == '-'){
                    sum -= Long.parseLong(val);
                }
            }
            if (sum == 7){
                System.out.println(tmp + "=7");
                break;
            }

        }




    }

}

