import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc String a = ""; a "" String ans = ""; ans "" int sum = 0; sum 0 for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        } int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        } {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        } a = s.substring(0, 1) a s.substring(0, 1) s.substring s 0 1 sum = Integer.parseInt(a) sum Integer.parseInt(a) Integer.parseInt Integer a ans = a ans a for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            } int j = 0; int j = 0; j 0 j < s.length() - 1 j s.length() - 1 s.length() s.length s 1 j++ j++ j {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            } {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            } a = s.substring(j + 1, j + 2) a s.substring(j + 1, j + 2) s.substring s j + 1 j 1 j + 2 j 2 if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                } (i >> j & 1) == 0 (i >> j & 1) i >> j i j 1 0 {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } ans += "+" + a ans "+" + a "+" a sum += Integer.parseInt(a) sum Integer.parseInt(a) Integer.parseInt Integer a {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                } ans += "-" + a ans "-" + a "-" a sum -= Integer.parseInt(a) sum Integer.parseInt(a) Integer.parseInt Integer a if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            } sum == 7 sum 7 {
                System.out.println(ans + "=7");
                break;
            } System.out.println(ans + "=7") System.out.println System.out System System.out ans + "=7" ans "=7" break; String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String a = "";
        String ans = "";
        int sum = 0;
        for (int i = 0; i < 8; i++) {
            a = s.substring(0, 1);
            sum = Integer.parseInt(a);
            ans = a;
            for (int j = 0; j < s.length() - 1; j++) {
                a = s.substring(j + 1, j + 2);
                if ((i >> j & 1) == 0) {
                    ans += "+" + a;
                    sum += Integer.parseInt(a);
                } else {
                    ans += "-" + a;
                    sum -= Integer.parseInt(a);
                }
            }
            if (sum == 7) {
                System.out.println(ans + "=7");
                break;
            }
        }
    }
}
