import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int a = s.charAt(0) - '0';

        sc.close();

        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                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();
        int a = s.charAt(0) - '0';

        sc.close();

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

        sc.close();

        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int a = s.charAt(0) - '0';

        sc.close();

        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int a = s.charAt(0) - '0'; a s.charAt(0) - '0' s.charAt(0) s.charAt s 0 '0' sc.close() sc.close sc for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        } int bit = 0; int bit = 0; bit 0 bit < (1 << 3) bit (1 << 3) 1 3 bit++ bit++ bit {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        } {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        } int sum = a; sum a String ans = ""; ans "" for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            } {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            } if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                } (bit & (1 << i)) != 0 (bit & (1 << i)) bit (1 << i) 1 i 0 {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } sum += s.charAt(i + 1) - '0' sum s.charAt(i + 1) - '0' s.charAt(i + 1) s.charAt s i + 1 i 1 '0' ans = ans + "+" ans ans + "+" ans "+" {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                } sum -= s.charAt(i + 1) - '0' sum s.charAt(i + 1) - '0' s.charAt(i + 1) s.charAt s i + 1 i 1 '0' ans = ans + "-" ans ans + "-" ans "-" if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            } sum == 7 sum 7 {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            } for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                } {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                } System.out.print(s.charAt(i)) System.out.print System.out System System.out s.charAt(i) s.charAt s i System.out.print(ans.charAt(i)) System.out.print System.out System System.out ans.charAt(i) ans.charAt ans i System.out.print(s.charAt(3)) System.out.print System.out System System.out s.charAt(3) s.charAt s 3 System.out.println("=7") System.out.println System.out System System.out "=7" 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();
        int a = s.charAt(0) - '0';

        sc.close();

        for (int bit = 0; bit < (1 << 3); bit++) {
            int sum = a;
            String ans = "";
            for (int i = 0; i < 3; i++) {
                if ((bit & (1 << i)) != 0) {
                    sum += s.charAt(i + 1) - '0';
                    ans = ans + "+";
                } else {
                    sum -= s.charAt(i + 1) - '0';
                    ans = ans + "-";
                }
            }
            if (sum == 7) {
                for (int i = 0; i < 3; i++) {
                    System.out.print(s.charAt(i));
                    System.out.print(ans.charAt(i));
                }
                System.out.print(s.charAt(3));
                System.out.println("=7");
                return;
            }
        }
    }
}
