import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        int[] num = new int[4];
        for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        }
        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        }
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        int[] num = new int[4];
        for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        }
        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        int[] num = new int[4];
        for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        }
        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        int[] num = new int[4];
        for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        }
        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        }
    } 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 int[] num = new int[4]; num new int[4] 4 for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            num[i] = s.charAt(i) - '0';
        } {
            num[i] = s.charAt(i) - '0';
        } num[i] = s.charAt(i) - '0' num[i] num i s.charAt(i) - '0' s.charAt(i) s.charAt s i '0' for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        } int bit = 0; int bit = 0; bit 0 bit < (1 << 3) bit (1 << 3) 1 3 bit++ bit++ bit {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        } {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        } int sum = num[0]; sum num[0] num 0 String ans = "" + num[0]; ans "" + num[0] "" num[0] num 0 for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            } {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            } if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                } (bit & (1 << j)) != 0 (bit & (1 << j)) bit (1 << j) 1 j 0 {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } sum += num[j + 1] sum num[j + 1] num j + 1 j 1 ans += "+" + num[j + 1] ans "+" + num[j + 1] "+" num[j + 1] num j + 1 j 1 {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                } sum -= num[j + 1] sum num[j + 1] num j + 1 j 1 ans += "-" + num[j + 1] ans "-" + num[j + 1] "-" num[j + 1] num j + 1 j 1 if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            } sum == 7 sum 7 {
                ans += "=7";
                System.out.println(ans);
                return;
            } ans += "=7" ans "=7" System.out.println(ans) System.out.println System.out System System.out ans return; String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        int[] num = new int[4];
        for (int i = 0; i < 4; i++) {
            num[i] = s.charAt(i) - '0';
        }
        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = num[0];
            String ans = "" + num[0];
            for (int j = 0; j < 3; j++) {
                if ((bit & (1 << j)) != 0) {
                    sum += num[j + 1];
                    ans += "+" + num[j + 1];
                } else {
                    sum -= num[j + 1];
                    ans += "-" + num[j + 1];
                }
            }
            if (sum == 7) {
                ans += "=7";
                System.out.println(ans);
                return;
            }
        }
    }
}
