import java.util.*;
class Main{
    static void solve(int n[]){

    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] c = in.next().toCharArray();
        int temp;
        for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        }
    }
} import java.util.*; util.* java class Main{
    static void solve(int n[]){

    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] c = in.next().toCharArray();
        int temp;
        for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        }
    }
} Main static void solve(int n[]){

    } solve {

    } int n[] n public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] c = in.next().toCharArray();
        int temp;
        for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        }
    } main {
        Scanner in = new Scanner(System.in);
        char[] c = in.next().toCharArray();
        int temp;
        for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) char[] c = in.next().toCharArray(); c in.next().toCharArray() in.next().toCharArray in.next() in.next in int temp; temp for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        } int bit = 0; int bit = 0; bit 0 bit < 8 bit 8 bit++ bit++ bit {
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        } {
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        } temp  = c[0] - '0' temp c[0] - '0' c[0] c 0 '0' for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            } {
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            } if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0'; (bit & (1 << i)) != 0 (bit & (1 << i)) bit (1 << i) 1 i 0 temp += c[i+1] - '0' temp c[i+1] - '0' c[i+1] c i+1 i 1 '0' temp -= c[i+1] - '0' temp c[i+1] - '0' c[i+1] c i+1 i 1 '0' if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            } temp == 7 temp 7 {
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            } System.out.print(c[0]) System.out.print System.out System System.out c[0] c 0 for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                } int i = 0 ; int i = 0 ; i 0 i < 3 i 3 i++ i++ i {
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                } {
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                } if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]); (bit & (1 << i)) != 0 (bit & (1 << i)) bit (1 << i) 1 i 0 System.out.print("+" + c[i+1]) System.out.print System.out System System.out "+" + c[i+1] "+" c[i+1] c i+1 i 1 System.out.print("-"+ c[i+1]) System.out.print System.out System System.out "-"+ c[i+1] "-" c[i+1] c i+1 i 1 System.out.println("=7") System.out.println System.out System System.out "=7" return; String[] args args
import java.util.*;
class Main{
    static void solve(int n[]){

    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] c = in.next().toCharArray();
        int temp;
        for(int bit = 0; bit < 8; bit++){
            temp  = c[0] - '0';
            for(int i = 0; i < 3; i++){
                if((bit & (1 << i)) != 0)  temp += c[i+1] - '0';
                else temp -= c[i+1] - '0';
            }
            if(temp == 7){
                System.out.print(c[0]);
                for(int i = 0 ; i < 3; i++){
                    if((bit & (1 << i)) != 0) System.out.print("+" + c[i+1]);
                    else System.out.print("-"+ c[i+1]);
                }
                System.out.println("=7");
                return;
            }
        }
    }
}