import java.util.Scanner;

public class Main {
    static String[] str;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    static String[] str;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    }
} Main static String[] str; str public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    } main {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) str = in.next().split("") str in.next().split("") in.next().split in.next() in.next in "" String formula; formula int ans; ans for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        } int i=0; int i=0; i 0 i < Math.pow(2,3) i Math.pow(2,3) Math.pow Math 2 3 i++ i++ i {
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        } {
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        } formula = str[0] formula str[0] str 0 ans = Integer.parseInt(str[0]) ans Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            } {
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            } if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                } (1&i>>j) == 0 (1&i>>j) 1 i>>j i j 0 {
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                } formula = formula + "+" + str[j+1] formula formula + "+" + str[j+1] formula + "+" + str[j+1] formula "+" str[j+1] str j+1 j 1 ans += Integer.parseInt(str[j+1]) ans Integer.parseInt(str[j+1]) Integer.parseInt Integer str[j+1] str j+1 j 1 {
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                } formula = formula + "-" + str[j+1] formula formula + "-" + str[j+1] formula + "-" + str[j+1] formula "-" str[j+1] str j+1 j 1 ans -= Integer.parseInt(str[j+1]) ans Integer.parseInt(str[j+1]) Integer.parseInt Integer str[j+1] str j+1 j 1 if(ans == 7){
                System.out.println(formula + "=7");
                break;
            } ans == 7 ans 7 {
                System.out.println(formula + "=7");
                break;
            } System.out.println(formula + "=7") System.out.println System.out System System.out formula + "=7" formula "=7" break; String[] args args public class Main {
    static String[] str;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    }
} public class Main {
    static String[] str;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    static String[] str;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        str = in.next().split("");

        String formula;
        int ans;
        for(int i=0; i < Math.pow(2,3); i++){
            formula = str[0];
            ans = Integer.parseInt(str[0]);
            for(int j = 0; j < 3; j++){
                if((1&i>>j) == 0){
                    formula = formula + "+" + str[j+1];
                    ans += Integer.parseInt(str[j+1]);
                }else{
                    formula = formula + "-" + str[j+1];
                    ans -= Integer.parseInt(str[j+1]);
                }
            }
            if(ans == 7){
                System.out.println(formula + "=7");
                break;
            }
        }
    }
}