import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        final String S = sc.next();
        sc.close();
        final int A = Integer.parseInt(S.substring(0, 1));
        final int B = Integer.parseInt(S.substring(1, 2));
        final int C = Integer.parseInt(S.substring(2, 3));
        final int D = Integer.parseInt(S.substring(3, 4));

        for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        }
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        final String S = sc.next();
        sc.close();
        final int A = Integer.parseInt(S.substring(0, 1));
        final int B = Integer.parseInt(S.substring(1, 2));
        final int C = Integer.parseInt(S.substring(2, 3));
        final int D = Integer.parseInt(S.substring(3, 4));

        for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        final String S = sc.next();
        sc.close();
        final int A = Integer.parseInt(S.substring(0, 1));
        final int B = Integer.parseInt(S.substring(1, 2));
        final int C = Integer.parseInt(S.substring(2, 3));
        final int D = Integer.parseInt(S.substring(3, 4));

        for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        final String S = sc.next();
        sc.close();
        final int A = Integer.parseInt(S.substring(0, 1));
        final int B = Integer.parseInt(S.substring(1, 2));
        final int C = Integer.parseInt(S.substring(2, 3));
        final int D = Integer.parseInt(S.substring(3, 4));

        for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final String S = sc.next(); S sc.next() sc.next sc sc.close() sc.close sc final int A = Integer.parseInt(S.substring(0, 1)); A Integer.parseInt(S.substring(0, 1)) Integer.parseInt Integer S.substring(0, 1) S.substring S 0 1 final int B = Integer.parseInt(S.substring(1, 2)); B Integer.parseInt(S.substring(1, 2)) Integer.parseInt Integer S.substring(1, 2) S.substring S 1 2 final int C = Integer.parseInt(S.substring(2, 3)); C Integer.parseInt(S.substring(2, 3)) Integer.parseInt Integer S.substring(2, 3) S.substring S 2 3 final int D = Integer.parseInt(S.substring(3, 4)); D Integer.parseInt(S.substring(3, 4)) Integer.parseInt Integer S.substring(3, 4) S.substring S 3 4 for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        } int i=8; int i=8; i 8 i<Math.pow(2.0, 3.0)+8 i Math.pow(2.0, 3.0)+8 Math.pow(2.0, 3.0) Math.pow Math 2.0 3.0 8 i++ i++ i {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        } {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        } int sum = A; sum A StringBuilder sb = new StringBuilder("" + A); sb new StringBuilder("" + A) if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            } "1".equals(Integer.toBinaryString(i).substring(3, 4)) "1".equals "1" Integer.toBinaryString(i).substring(3, 4) Integer.toBinaryString(i).substring Integer.toBinaryString(i) Integer.toBinaryString Integer i 3 4 {
                sum += B;
                sb.append("+" + B);
            } sum += B sum B sb.append("+" + B) sb.append sb "+" + B "+" B {
                sum -= B;
                sb.append("-" + B);
            } sum -= B sum B sb.append("-" + B) sb.append sb "-" + B "-" B if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            } "1".equals(Integer.toBinaryString(i).substring(2, 3)) "1".equals "1" Integer.toBinaryString(i).substring(2, 3) Integer.toBinaryString(i).substring Integer.toBinaryString(i) Integer.toBinaryString Integer i 2 3 {
                sum += C;
                sb.append("+" + C);
            } sum += C sum C sb.append("+" + C) sb.append sb "+" + C "+" C {
                sum -= C;
                sb.append("-" + C);
            } sum -= C sum C sb.append("-" + C) sb.append sb "-" + C "-" C if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            } "1".equals(Integer.toBinaryString(i).substring(1, 2)) "1".equals "1" Integer.toBinaryString(i).substring(1, 2) Integer.toBinaryString(i).substring Integer.toBinaryString(i) Integer.toBinaryString Integer i 1 2 {
                sum += D;
                sb.append("+" + D);
            } sum += D sum D sb.append("+" + D) sb.append sb "+" + D "+" D {
                sum -= D;
                sb.append("-" + D);
            } sum -= D sum D sb.append("-" + D) sb.append sb "-" + D "-" D if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            } sum==7 sum 7 {
                sb.append("=7");
                System.out.println(sb);
                return;
            } sb.append("=7") sb.append sb "=7" System.out.println(sb) System.out.println System.out System System.out sb return; String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        final String S = sc.next();
        sc.close();
        final int A = Integer.parseInt(S.substring(0, 1));
        final int B = Integer.parseInt(S.substring(1, 2));
        final int C = Integer.parseInt(S.substring(2, 3));
        final int D = Integer.parseInt(S.substring(3, 4));

        for (int i=8; i<Math.pow(2.0, 3.0)+8; i++) {
            int sum = A;
            StringBuilder sb = new StringBuilder("" + A);
            if ("1".equals(Integer.toBinaryString(i).substring(3, 4))) {
                sum += B;
                sb.append("+" + B);
            } else {
                sum -= B;
                sb.append("-" + B);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(2, 3))) {
                sum += C;
                sb.append("+" + C);
            } else {
                sum -= C;
                sb.append("-" + C);
            }
            if ("1".equals(Integer.toBinaryString(i).substring(1, 2))) {
                sum += D;
                sb.append("+" + D);
            } else {
                sum -= D;
                sb.append("-" + D);
            }
            if (sum==7) {
                sb.append("=7");
                System.out.println(sb);
                return;
            }
        }
    }
}