import java.util.*;

public class Main {
    static int modP = 1000000007;
    static long inf  = 1 << 61;
    static int[] x4 = {-1, 0, 0, 1};
    static int[] y4 = {0, -1, 1, 0};

    static String s;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    }

    static void print(String s) {
        System.out.println(s);
    }

    static void print(char c) {
        System.out.println(c);
    }

    static void print(int i) {
        System.out.println(i);
    }

    static void print(long i) {
        System.out.println(i);
    }

    static void print(float i) {
        System.out.println(i);
    }
} import java.util.*; util.* java public class Main {
    static int modP = 1000000007;
    static long inf  = 1 << 61;
    static int[] x4 = {-1, 0, 0, 1};
    static int[] y4 = {0, -1, 1, 0};

    static String s;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    }

    static void print(String s) {
        System.out.println(s);
    }

    static void print(char c) {
        System.out.println(c);
    }

    static void print(int i) {
        System.out.println(i);
    }

    static void print(long i) {
        System.out.println(i);
    }

    static void print(float i) {
        System.out.println(i);
    }
} Main static int modP = 1000000007; modP 1000000007 static long inf  = 1 << 61; inf 1 << 61 1 61 static int[] x4 = {-1, 0, 0, 1}; x4 {-1, 0, 0, 1} -1 1 0 0 1 static int[] y4 = {0, -1, 1, 0}; y4 {0, -1, 1, 0} 0 -1 1 1 0 static String s; s public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    } main {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) s = in.next() s in.next() in.next in int n = s.length(); n s.length() s.length s for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        } int i = 0; int i = 0; i 0 i < 1 << n-1 i 1 << n-1 1 n-1 n 1 i++ i++ i {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        } {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        } String ss = s; ss s for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            } int j = n-1; int j = n-1; j n-1 n 1 j > 0 j 0 j-- j-- j {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            } {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            } if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                } (1 & (i >> j-1)) == 1 (1 & (i >> j-1)) 1 (i >> j-1) i j-1 j 1 1 {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                } ss = ss.substring(0, j) + "+" + ss.substring(j) ss ss.substring(0, j) + "+" + ss.substring(j) ss.substring(0, j) + "+" + ss.substring(j) ss.substring(0, j) ss.substring ss 0 j "+" ss.substring(j) ss.substring ss j {
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                } ss = ss.substring(0, j) + "-" + ss.substring(j) ss ss.substring(0, j) + "-" + ss.substring(j) ss.substring(0, j) + "-" + ss.substring(j) ss.substring(0, j) ss.substring ss 0 j "-" ss.substring(j) ss.substring ss j int ans = 0; ans 0 boolean add = true; add true int current = 0; current 0 for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            } int j = 0; int j = 0; j 0 j < 7 j 7 j++ j++ j {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            } {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            } if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                } j % 2 == 0 j % 2 j 2 0 {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                } current = Integer.parseInt(ss.substring(j, j+1)) current Integer.parseInt(ss.substring(j, j+1)) Integer.parseInt Integer ss.substring(j, j+1) ss.substring ss j j+1 j 1 if(add) ans += current;
                    else ans -= current; add ans += current ans current ans -= current ans current {
                    add = (ss.charAt(j) == '+');
                } add = (ss.charAt(j) == '+') add (ss.charAt(j) == '+') ss.charAt(j) ss.charAt ss j '+' if (ans == 7) {
                print(ss + "=7");
                return;
            } ans == 7 ans 7 {
                print(ss + "=7");
                return;
            } print(ss + "=7") print ss + "=7" ss "=7" return; String[] args args static void print(String s) {
        System.out.println(s);
    } print {
        System.out.println(s);
    } System.out.println(s) System.out.println System.out System System.out s String s s static void print(char c) {
        System.out.println(c);
    } print {
        System.out.println(c);
    } System.out.println(c) System.out.println System.out System System.out c char c c static void print(int i) {
        System.out.println(i);
    } print {
        System.out.println(i);
    } System.out.println(i) System.out.println System.out System System.out i int i i static void print(long i) {
        System.out.println(i);
    } print {
        System.out.println(i);
    } System.out.println(i) System.out.println System.out System System.out i long i i static void print(float i) {
        System.out.println(i);
    } print {
        System.out.println(i);
    } System.out.println(i) System.out.println System.out System System.out i float i i public class Main {
    static int modP = 1000000007;
    static long inf  = 1 << 61;
    static int[] x4 = {-1, 0, 0, 1};
    static int[] y4 = {0, -1, 1, 0};

    static String s;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    }

    static void print(String s) {
        System.out.println(s);
    }

    static void print(char c) {
        System.out.println(c);
    }

    static void print(int i) {
        System.out.println(i);
    }

    static void print(long i) {
        System.out.println(i);
    }

    static void print(float i) {
        System.out.println(i);
    }
} public class Main {
    static int modP = 1000000007;
    static long inf  = 1 << 61;
    static int[] x4 = {-1, 0, 0, 1};
    static int[] y4 = {0, -1, 1, 0};

    static String s;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    }

    static void print(String s) {
        System.out.println(s);
    }

    static void print(char c) {
        System.out.println(c);
    }

    static void print(int i) {
        System.out.println(i);
    }

    static void print(long i) {
        System.out.println(i);
    }

    static void print(float i) {
        System.out.println(i);
    }
} Main
import java.util.*;

public class Main {
    static int modP = 1000000007;
    static long inf  = 1 << 61;
    static int[] x4 = {-1, 0, 0, 1};
    static int[] y4 = {0, -1, 1, 0};

    static String s;

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        s = in.next();
        int n = s.length();

        // bit: 1 -> +, 0 -> -
        for(int i = 0; i < 1 << n-1; i++) {
            String ss = s;
            for(int j = n-1; j > 0; j--) {
                if((1 & (i >> j-1)) == 1) {
                    ss = ss.substring(0, j) + "+" + ss.substring(j);
                }else{
                    ss = ss.substring(0, j) + "-" + ss.substring(j);
                }
            }

            int ans = 0;
            boolean add = true;
            int current = 0;
            for(int j = 0; j < 7; j++) {
                if(j % 2 == 0) {
                    current = Integer.parseInt(ss.substring(j, j+1));
                    if(add) ans += current;
                    else ans -= current;
                }else{
                    add = (ss.charAt(j) == '+');
                }
            }
            if (ans == 7) {
                print(ss + "=7");
                return;
            }
        }
    }

    static void print(String s) {
        System.out.println(s);
    }

    static void print(char c) {
        System.out.println(c);
    }

    static void print(int i) {
        System.out.println(i);
    }

    static void print(long i) {
        System.out.println(i);
    }

    static void print(float i) {
        System.out.println(i);
    }
}