// writed 2020/03/25
// bit全探索
import java.util.Scanner;
class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String num = scanner.next();
        scanner.close();
        String[] numString = num.split("");
        int[] numInt = new int[4];
        for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        }        
        int opnum = 3;

        for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        }
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String num = scanner.next();
        scanner.close();
        String[] numString = num.split("");
        int[] numInt = new int[4];
        for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        }        
        int opnum = 3;

        for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String num = scanner.next();
        scanner.close();
        String[] numString = num.split("");
        int[] numInt = new int[4];
        for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        }        
        int opnum = 3;

        for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        String num = scanner.next();
        scanner.close();
        String[] numString = num.split("");
        int[] numInt = new int[4];
        for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        }        
        int opnum = 3;

        for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String num = scanner.next(); num scanner.next() scanner.next scanner scanner.close() scanner.close scanner String[] numString = num.split(""); numString num.split("") num.split num "" int[] numInt = new int[4]; numInt new int[4] 4 for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        } int x=0; int x=0; x 0 x<numString.length x numString.length numString numString.length x++ x++ x {
            numInt[x] = Integer.parseInt(numString[x]);
        } {
            numInt[x] = Integer.parseInt(numString[x]);
        } numInt[x] = Integer.parseInt(numString[x]) numInt[x] numInt x Integer.parseInt(numString[x]) Integer.parseInt Integer numString[x] numString x int opnum = 3; opnum 3 for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        } int i=0; int i=0; i 0 i<(1<<opnum) i (1<<opnum) 1 opnum i++ i++ i {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        } {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        } int sum = numInt[0]; sum numInt[0] numInt 0 int count = 0; count 0 StringBuilder sb = new StringBuilder(num); sb new StringBuilder(num) for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            } int j=0; int j=0; j 0 j<opnum j opnum j++ j++ j {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            } {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            } if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                } (1&i>>j) == 1 (1&i>>j) 1 i>>j i j 1 {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                } sum += numInt[j+1] sum numInt[j+1] numInt j+1 j 1 sb.insert(j+1+count, "+") sb.insert sb j+1+count j+1+count j 1 count "+" count++ count {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                } sum -= numInt[j+1] sum numInt[j+1] numInt j+1 j 1 sb.insert(j+1+count, "-") sb.insert sb j+1+count j+1+count j 1 count "-" count++ count if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            } sum==7 sum 7 {
                System.out.println(sb.toString() + "=7");
                return;
            } System.out.println(sb.toString() + "=7") System.out.println System.out System System.out sb.toString() + "=7" sb.toString() sb.toString sb "=7" return; String[] args args
// writed 2020/03/25
// bit全探索
import java.util.Scanner;
class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String num = scanner.next();
        scanner.close();
        String[] numString = num.split("");
        int[] numInt = new int[4];
        for(int x=0;x<numString.length;x++) {
            numInt[x] = Integer.parseInt(numString[x]);
        }        
        int opnum = 3;

        for(int i=0;i<(1<<opnum);i++) {
            int sum = numInt[0];
            int count = 0;
            StringBuilder sb = new StringBuilder(num);
            for(int j=0;j<opnum;j++) {
                if((1&i>>j) == 1) {
                    sum += numInt[j+1];
                    sb.insert(j+1+count, "+");
                    count++;
                }else {
                    sum -= numInt[j+1];
                    sb.insert(j+1+count, "-");
                    count++;
                }
            }
            if(sum==7) {
                System.out.println(sb.toString() + "=7");
                return;
            }
        }
    }
}