import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        sc.close();

        for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        }
    }

    public static String zeroP(String S, int a) {
        while (S.length()<a) {
            S = "0" + S;
        }
        return S;
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        sc.close();

        for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        }
    }

    public static String zeroP(String S, int a) {
        while (S.length()<a) {
            S = "0" + S;
        }
        return S;
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        sc.close();

        for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        sc.close();

        for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc sc.close() sc.close sc for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        } int i=0; int i=0; i 0 i<Math.pow(2,S.length()-1) i Math.pow(2,S.length()-1) Math.pow Math 2 S.length()-1 S.length() S.length S 1 i++ i++ i {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        } {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        } int sum = Integer.parseInt(S.substring(0, 1)); sum Integer.parseInt(S.substring(0, 1)) Integer.parseInt Integer S.substring(0, 1) S.substring S 0 1 StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(S.substring(0, 1)) sb.append sb S.substring(0, 1) S.substring S 0 1 String b = zeroP(Integer.toBinaryString(i), S.length()-1); b zeroP(Integer.toBinaryString(i), S.length()-1) zeroP Integer.toBinaryString(i) Integer.toBinaryString Integer i S.length()-1 S.length() S.length S 1 for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            } int j=1; int j=1; j 1 j<S.length() j S.length() S.length S j++ j++ j {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            } {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            } if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                } "1".equals(b.substring(j-1, j)) "1".equals "1" b.substring(j-1, j) b.substring b j-1 j 1 j {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } sum += Integer.parseInt(S.substring(j, j+1)) sum Integer.parseInt(S.substring(j, j+1)) Integer.parseInt Integer S.substring(j, j+1) S.substring S j j+1 j 1 sb.append("+" + S.substring(j, j+1)) sb.append sb "+" + S.substring(j, j+1) "+" S.substring(j, j+1) S.substring S j j+1 j 1 {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                } sum -= Integer.parseInt(S.substring(j, j+1)) sum Integer.parseInt(S.substring(j, j+1)) Integer.parseInt Integer S.substring(j, j+1) S.substring S j j+1 j 1 sb.append("-" + S.substring(j, j+1)) sb.append sb "-" + S.substring(j, j+1) "-" S.substring(j, j+1) S.substring S j j+1 j 1 if (sum==7) {
                System.out.println(sb + "=7");
                break;
            } sum==7 sum 7 {
                System.out.println(sb + "=7");
                break;
            } System.out.println(sb + "=7") System.out.println System.out System System.out sb + "=7" sb "=7" break; String[] args args public static String zeroP(String S, int a) {
        while (S.length()<a) {
            S = "0" + S;
        }
        return S;
    } zeroP {
        while (S.length()<a) {
            S = "0" + S;
        }
        return S;
    } while (S.length()<a) {
            S = "0" + S;
        } S.length()<a S.length() S.length S a {
            S = "0" + S;
        } S = "0" + S S "0" + S "0" S return S; S String S S int a a
import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        sc.close();

        for (int i=0; i<Math.pow(2,S.length()-1); i++) {
            int sum = Integer.parseInt(S.substring(0, 1));
            StringBuilder sb = new StringBuilder();
            sb.append(S.substring(0, 1));
            String b = zeroP(Integer.toBinaryString(i), S.length()-1);
            for (int j=1; j<S.length(); j++) {
                if ("1".equals(b.substring(j-1, j))) {
                        sum += Integer.parseInt(S.substring(j, j+1));
                        sb.append("+" + S.substring(j, j+1));
                } else {
                    sum -= Integer.parseInt(S.substring(j, j+1));
                    sb.append("-" + S.substring(j, j+1));
                }
            }
            if (sum==7) {
                System.out.println(sb + "=7");
                break;
            }
        }
    }

    public static String zeroP(String S, int a) {
        while (S.length()<a) {
            S = "0" + S;
        }
        return S;
    }
}