import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    }
} Main public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    } main {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    } String S; S try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        } {
            S = sc.next();
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) S = sc.next() S sc.next() sc.next sc char[] carr = S.toCharArray(); carr S.toCharArray() S.toCharArray S int[] arr = new int[carr.length]; arr new int[carr.length] carr.length carr carr.length for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        } int i = 0; int i = 0; i 0 i < carr.length i carr.length carr carr.length i++ i++ i {
            arr[i] = carr[i] - 48;
        } {
            arr[i] = carr[i] - 48;
        } arr[i] = carr[i] - 48 arr[i] arr i carr[i] - 48 carr[i] carr i 48 int baseMax = arr.length - 1; baseMax arr.length - 1 arr.length arr arr.length 1 int bitSign = 0; bitSign 0 while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        } bitSign < Math.pow(2, baseMax) bitSign Math.pow(2, baseMax) Math.pow Math 2 baseMax {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        } StringBuilder sb = new StringBuilder(); sb new StringBuilder() int result = arr[0]; result arr[0] arr 0 sb.append(arr[0]) sb.append sb arr[0] arr 0 for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            } int i = 0; int i = 0; i 0 i < baseMax i baseMax i++ i++ i {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            } {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            } boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0; isPlus ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0 ((bitSign >>> (baseMax - 1 - i)) & 0x1) (bitSign >>> (baseMax - 1 - i)) bitSign (baseMax - 1 - i) baseMax - 1 - i baseMax 1 i 0x1 0 String s = isPlus ? "+" : "-"; s isPlus ? "+" : "-" isPlus "+" "-" result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1])) result ((isPlus) ? (arr[i + 1]) : -(arr[i + 1])) (isPlus) (arr[i + 1]) arr i + 1 i 1 -(arr[i + 1]) (arr[i + 1]) arr i + 1 i 1 sb.append(s).append(arr[i + 1]) sb.append(s).append sb.append(s) sb.append sb s arr[i + 1] arr i + 1 i 1 if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } result == 7 result 7 {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } sb.append("=7") sb.append sb "=7" System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb return; bitSign++ bitSign String[] args args public class Main {
    public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    }
} public class Main {
    public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        String S;
        try (Scanner sc = new Scanner(System.in)) {
            S = sc.next();
        }
        char[] carr = S.toCharArray();
        int[] arr = new int[carr.length];
        for (int i = 0; i < carr.length; i++) {
            arr[i] = carr[i] - 48;
        }
        int baseMax = arr.length - 1;
        int bitSign = 0;
        while (bitSign < Math.pow(2, baseMax)) {
            StringBuilder sb = new StringBuilder();

            int result = arr[0];
            sb.append(arr[0]);

            for (int i = 0; i < baseMax; i++) {
                boolean isPlus = ((bitSign >>> (baseMax - 1 - i)) & 0x1) == 0;
                String s = isPlus ? "+" : "-";
                result += ((isPlus) ? (arr[i + 1]) : -(arr[i + 1]));
                sb.append(s).append(arr[i + 1]);
            }
            if (result == 7) {
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }
            bitSign++;
        }
    }
}
