import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10}; l1 {c/1000, (c/100)%10, (c/10)%10, c%10} c/1000 c 1000 (c/100)%10 (c/100) c 100 10 (c/10)%10 (c/10) c 10 10 c%10 c 10 String[] l2 = {"+", "-"}; l2 {"+", "-"} "+" "-" for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        } 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 a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        } {
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        } for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            } int j = 0; int j = 0; j 0 j < 2 j 2 j++ j++ j {
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            } {
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            } for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                } int k = 0; int k = 0; k 0 k < 2 k 2 k++ k++ k {
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                } {
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                } int a = l1[0]; a l1[0] l1 0 if(i == 0)  a += l1[1];
                    else    a -= l1[1]; i == 0 i 0 a += l1[1] a l1[1] l1 1 a -= l1[1] a l1[1] l1 1 if(j == 0)  a += l1[2];
                    else    a -= l1[2]; j == 0 j 0 a += l1[2] a l1[2] l1 2 a -= l1[2] a l1[2] l1 2 if(k == 0)  a += l1[3];
                    else    a -= l1[3]; k == 0 k 0 a += l1[3] a l1[3] l1 3 a -= l1[3] a l1[3] l1 3 if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    } a == 7 a 7 {
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    } System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7") System.out.println System.out System System.out l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7" l1[3] l2[k] l1[2] l2[j] l1[1] l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7" l1[0] l1 0 l2[i] l2 i l1[1] l1 1 l2[j] l2 j l1[2] l1 2 l2[k] l2 k l1[3] l1 3 "=7" return; String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int c = sc.nextInt();
        int[] l1 = {c/1000, (c/100)%10, (c/10)%10, c%10};
        String[] l2 = {"+", "-"};
        for(int i = 0;i < 2;i++){
            for(int j = 0;j < 2;j++){
                for(int k = 0;k < 2;k++){
                    int a = l1[0];
                    if(i == 0)  a += l1[1];
                    else    a -= l1[1];
                    if(j == 0)  a += l1[2];
                    else    a -= l1[2];
                    if(k == 0)  a += l1[3];
                    else    a -= l1[3];
                    if(a == 7){
                        System.out.println(l1[0]+l2[i]+l1[1]+l2[j]+l1[2]+l2[k]+l1[3]+"=7");
                        return;
                    }
                }
            }
        }
    }
}