import java.util.*;
import java.io.*;
 
public class Main {
    static char[] s;
    static boolean solved = false;
    public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    }
    
    public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    }
    
    public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    }
}

class FastScanner {
    private BufferedReader reader = null;
    private StringTokenizer tokenizer = null;
    public FastScanner(InputStream in) {
        reader = new BufferedReader(new InputStreamReader(in));
        tokenizer = null;
    }

    public String next() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    }

    public String nextLine() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken("\n");
    }

    public long nextLong() {
        return Long.parseLong(next());
    }

    public int nextInt() {
        return Integer.parseInt(next());
    }

    public double nextDouble() {
         return Double.parseDouble(next());
    }

    public int[] nextIntArray(int n) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++)
            a[i] = nextInt();
        return a;
    }

    public long[] nextLongArray(int n) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++)
            a[i] = nextLong();
        return a;
    } 
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    static char[] s;
    static boolean solved = false;
    public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    }
    
    public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    }
    
    public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    }
} Main static char[] s; s static boolean solved = false; solved false public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    } main {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    } FastScanner sc = new FastScanner(System.in); sc new FastScanner(System.in) s = sc.next().toCharArray() s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc boolean[] plus = new boolean[s.length-1]; plus new boolean[s.length-1] s.length-1 s.length s s.length 1 divide(plus,0) divide plus 0 String[] args args public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    } divide {
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    } if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        } p.length == index p.length p p.length index {
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        } if(calc(p)){
                return true;
            }else{
                return false;
            } calc(p) calc p {
                return true;
            } return true; true {
                return false;
            } return false; false if(divide(p,index+1)){
            return true;
        } divide(p,index+1) divide p index+1 index 1 {
            return true;
        } return true; true p[index] = true p[index] p index true if(divide(p,index+1)){
            return true;
        } divide(p,index+1) divide p index+1 index 1 {
            return true;
        } return true; true p[index] = false p[index] p index false return false; false boolean[] p p int index index public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    } calc {
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    } if(solved){
            return true;
        } solved {
            return true;
        } return true; true int tmp = Integer.parseInt(String.valueOf(s[0])); tmp Integer.parseInt(String.valueOf(s[0])) Integer.parseInt Integer String.valueOf(s[0]) String.valueOf String s[0] s 0 for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        } int i = 0; int i = 0; i 0 i < p.length i p.length p p.length i++ i++ i {
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        } {
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        } if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            } p[i] p i {
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            } tmp += Integer.parseInt(String.valueOf(s[i+1])) tmp Integer.parseInt(String.valueOf(s[i+1])) Integer.parseInt Integer String.valueOf(s[i+1]) String.valueOf String s[i+1] s i+1 i 1 {
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            } tmp -= Integer.parseInt(String.valueOf(s[i+1])) tmp Integer.parseInt(String.valueOf(s[i+1])) Integer.parseInt Integer String.valueOf(s[i+1]) String.valueOf String s[i+1] s i+1 i 1 if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        } tmp == 7 tmp 7 {
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        } char op1 = p[0] ? '+' : '-'; op1 p[0] ? '+' : '-' p[0] p 0 '+' '-' char op2 = p[1] ? '+' : '-'; op2 p[1] ? '+' : '-' p[1] p 1 '+' '-' char op3 = p[2] ? '+' : '-'; op3 p[2] ? '+' : '-' p[2] p 2 '+' '-' System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7") System.out.println System.out System System.out ""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7" s[3] op3 s[2] op2 s[1] op1 ""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7" "" s[0] s 0 op1 s[1] s 1 op2 s[2] s 2 op3 s[3] s 3 "=7" return true; true {
            return false;
        } return false; false boolean[] p p class FastScanner {
    private BufferedReader reader = null;
    private StringTokenizer tokenizer = null;
    public FastScanner(InputStream in) {
        reader = new BufferedReader(new InputStreamReader(in));
        tokenizer = null;
    }

    public String next() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    }

    public String nextLine() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken("\n");
    }

    public long nextLong() {
        return Long.parseLong(next());
    }

    public int nextInt() {
        return Integer.parseInt(next());
    }

    public double nextDouble() {
         return Double.parseDouble(next());
    }

    public int[] nextIntArray(int n) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++)
            a[i] = nextInt();
        return a;
    }

    public long[] nextLongArray(int n) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++)
            a[i] = nextLong();
        return a;
    } 
} FastScanner private BufferedReader reader = null; reader null private StringTokenizer tokenizer = null; tokenizer null public FastScanner(InputStream in) {
        reader = new BufferedReader(new InputStreamReader(in));
        tokenizer = null;
    } FastScanner {
        reader = new BufferedReader(new InputStreamReader(in));
        tokenizer = null;
    } reader = new BufferedReader(new InputStreamReader(in)) reader new BufferedReader(new InputStreamReader(in)) tokenizer = null tokenizer null InputStream in in public String next() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    } next {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    } if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        } tokenizer == null || !tokenizer.hasMoreTokens() tokenizer == null tokenizer null !tokenizer.hasMoreTokens() tokenizer.hasMoreTokens() tokenizer.hasMoreTokens tokenizer {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        } try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            } catch (IOException e) {
                throw new RuntimeException(e);
            } IOException e {
                throw new RuntimeException(e);
            } throw new RuntimeException(e); new RuntimeException(e) {
                tokenizer = new StringTokenizer(reader.readLine());
            } tokenizer = new StringTokenizer(reader.readLine()) tokenizer new StringTokenizer(reader.readLine()) return tokenizer.nextToken(); tokenizer.nextToken() tokenizer.nextToken tokenizer public String nextLine() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken("\n");
    } nextLine {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken("\n");
    } if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        } tokenizer == null || !tokenizer.hasMoreTokens() tokenizer == null tokenizer null !tokenizer.hasMoreTokens() tokenizer.hasMoreTokens() tokenizer.hasMoreTokens tokenizer {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        } try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            } catch (IOException e) {
                throw new RuntimeException(e);
            } IOException e {
                throw new RuntimeException(e);
            } throw new RuntimeException(e); new RuntimeException(e) {
                return reader.readLine();
            } return reader.readLine(); reader.readLine() reader.readLine reader return tokenizer.nextToken("\n"); tokenizer.nextToken("\n") tokenizer.nextToken tokenizer "\n" public long nextLong() {
        return Long.parseLong(next());
    } nextLong {
        return Long.parseLong(next());
    } return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next public int nextInt() {
        return Integer.parseInt(next());
    } nextInt {
        return Integer.parseInt(next());
    } return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next public double nextDouble() {
         return Double.parseDouble(next());
    } nextDouble {
         return Double.parseDouble(next());
    } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next public int[] nextIntArray(int n) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++)
            a[i] = nextInt();
        return a;
    } nextIntArray {
        int[] a = new int[n];
        for (int i = 0; i < n; i++)
            a[i] = nextInt();
        return a;
    } int[] a = new int[n]; a new int[n] n for (int i = 0; i < n; i++)
            a[i] = nextInt(); int i = 0; int i = 0; i 0 i < n i n i++ i++ i a[i] = nextInt(); a[i] = nextInt() a[i] a i nextInt() nextInt return a; a int n n public long[] nextLongArray(int n) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++)
            a[i] = nextLong();
        return a;
    } nextLongArray {
        long[] a = new long[n];
        for (int i = 0; i < n; i++)
            a[i] = nextLong();
        return a;
    } long[] a = new long[n]; a new long[n] n for (int i = 0; i < n; i++)
            a[i] = nextLong(); int i = 0; int i = 0; i 0 i < n i n i++ i++ i a[i] = nextLong(); a[i] = nextLong() a[i] a i nextLong() nextLong return a; a int n n public class Main {
    static char[] s;
    static boolean solved = false;
    public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    }
    
    public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    }
    
    public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    }
} public class Main {
    static char[] s;
    static boolean solved = false;
    public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    }
    
    public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    }
    
    public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    }
} Main
import java.util.*;
import java.io.*;
 
public class Main {
    static char[] s;
    static boolean solved = false;
    public static void main(String[] args) throws Exception {
        FastScanner sc = new FastScanner(System.in);
        s = sc.next().toCharArray();
        boolean[] plus = new boolean[s.length-1];
        divide(plus,0);
    }
    
    public static boolean divide(boolean[] p, int index){
        if(p.length == index){
            if(calc(p)){
                return true;
            }else{
                return false;
            }
        }
        if(divide(p,index+1)){
            return true;
        }
        p[index] = true;
        if(divide(p,index+1)){
            return true;
        }
        p[index] = false;
        return false;
    }
    
    public static boolean calc(boolean[] p){
        if(solved){
            return true;
        }
        int tmp = Integer.parseInt(String.valueOf(s[0]));
        for(int i = 0; i < p.length; i++){
            if(p[i]){
                tmp += Integer.parseInt(String.valueOf(s[i+1]));
            }else{
                tmp -= Integer.parseInt(String.valueOf(s[i+1]));
            }
        }
        if(tmp == 7){
            char op1 = p[0] ? '+' : '-';
            char op2 = p[1] ? '+' : '-';
            char op3 = p[2] ? '+' : '-';
            System.out.println(""+s[0] + op1 + s[1] + op2 + s[2] + op3 + s[3]+"=7");
            return true;
        }else{
            return false;
        }
    }
}

class FastScanner {
    private BufferedReader reader = null;
    private StringTokenizer tokenizer = null;
    public FastScanner(InputStream in) {
        reader = new BufferedReader(new InputStreamReader(in));
        tokenizer = null;
    }

    public String next() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    }

    public String nextLine() {
        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                return reader.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken("\n");
    }

    public long nextLong() {
        return Long.parseLong(next());
    }

    public int nextInt() {
        return Integer.parseInt(next());
    }

    public double nextDouble() {
         return Double.parseDouble(next());
    }

    public int[] nextIntArray(int n) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++)
            a[i] = nextInt();
        return a;
    }

    public long[] nextLongArray(int n) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++)
            a[i] = nextLong();
        return a;
    } 
}
