import java.util.*;

public class Main {
    public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    }
} Main public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc int [] num = new int[4]; num new int[4] 4 for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
            num[i] = Character.getNumericValue(S.charAt(i));
        } {
            num[i] = Character.getNumericValue(S.charAt(i));
        } num[i] = Character.getNumericValue(S.charAt(i)) num[i] num i Character.getNumericValue(S.charAt(i)) Character.getNumericValue Character S.charAt(i) S.charAt S i int a = num[0]; a num[0] num 0 int b = num[1]; b num[1] num 1 int c = num[2]; c num[2] num 2 int d = num[3]; d num[3] num 3 if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a+b+c+d == 7 a+b+c+d c a+b+c+d a b c d 7 {
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        } System.out.println(a+"+"+b+"+"+c+"+"+d+"=7") System.out.println System.out System System.out a+"+"+b+"+"+c+"+"+d+"=7" d "+" c "+" b a+"+"+b+"+"+c+"+"+d+"=7" a "+" b "+" c "+" d "=7" if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a+b+c-d == 7 a+b+c-d a+b+c a+b+c a b c d 7 {
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        } System.out.println(a+"+"+b+"+"+c+"-"+d+"=7") System.out.println System.out System System.out a+"+"+b+"+"+c+"-"+d+"=7" d "-" c "+" b a+"+"+b+"+"+c+"-"+d+"=7" a "+" b "+" c "-" d "=7" if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a+b-c+d == 7 a+b-c+d a+b-c a+b a b c d 7 {
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        } System.out.println(a+"+"+b+"-"+c+"+"+d+"=7") System.out.println System.out System System.out a+"+"+b+"-"+c+"+"+d+"=7" d "+" c "-" b a+"+"+b+"-"+c+"+"+d+"=7" a "+" b "-" c "+" d "=7" if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a-b+c+d == 7 a-b+c+d a-b+c+d a-b a b c d 7 {
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        } System.out.println(a+"-"+b+"+"+c+"+"+d+"=7") System.out.println System.out System System.out a+"-"+b+"+"+c+"+"+d+"=7" d "+" c "+" b a+"-"+b+"+"+c+"+"+d+"=7" a "-" b "+" c "+" d "=7" if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a+b-c-d == 7 a+b-c-d a+b-c-d a+b a b c d 7 {
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        } System.out.println(a+"+"+b+"-"+c+"-"+d+"=7") System.out.println System.out System System.out a+"+"+b+"-"+c+"-"+d+"=7" d "-" c "-" b a+"+"+b+"-"+c+"-"+d+"=7" a "+" b "-" c "-" d "=7" if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a-b+c-d == 7 a-b+c-d a-b+c a-b a b c d 7 {
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        } System.out.println(a+"-"+b+"+"+c+"-"+d+"=7") System.out.println System.out System System.out a+"-"+b+"+"+c+"-"+d+"=7" d "-" c "+" b a+"-"+b+"+"+c+"-"+d+"=7" a "-" b "+" c "-" d "=7" if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } a-b-c+d == 7 a-b-c+d a-b-c a-b-c a b c d 7 {
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        } System.out.println(a+"-"+b+"-"+c+"+"+d+"=7") System.out.println System.out System System.out a+"-"+b+"-"+c+"+"+d+"=7" d "+" c "-" b a+"-"+b+"-"+c+"+"+d+"=7" a "-" b "-" c "+" d "=7" {
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        } System.out.println(a+"-"+b+"-"+c+"-"+d+"=7") System.out.println System.out System System.out a+"-"+b+"-"+c+"-"+d+"=7" d "-" c "-" b a+"-"+b+"-"+c+"-"+d+"=7" a "-" b "-" c "-" d "=7" String[] args args public class Main {
    public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    }
} public class Main {
    public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args)  {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        int [] num = new int[4];
        for(int i=0; i<4; i++){
            num[i] = Character.getNumericValue(S.charAt(i));
        }
        int a = num[0];
        int b = num[1];
        int c = num[2];
        int d = num[3];
        
        if(a+b+c+d == 7){
            System.out.println(a+"+"+b+"+"+c+"+"+d+"=7");
        }else if(a+b+c-d == 7){
            System.out.println(a+"+"+b+"+"+c+"-"+d+"=7");
        }else if(a+b-c+d == 7){
            System.out.println(a+"+"+b+"-"+c+"+"+d+"=7");
        }else if(a-b+c+d == 7){
            System.out.println(a+"-"+b+"+"+c+"+"+d+"=7");
        }else if(a+b-c-d == 7){
            System.out.println(a+"+"+b+"-"+c+"-"+d+"=7");
        }else if(a-b+c-d == 7){
            System.out.println(a+"-"+b+"+"+c+"-"+d+"=7");
        }else if(a-b-c+d == 7){
            System.out.println(a+"-"+b+"-"+c+"+"+d+"=7");
        }else{
            System.out.println(a+"-"+b+"-"+c+"-"+d+"=7");
        }

    }
}
