import java.util.*;

public class Main {
    public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    }

    private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    }

    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    }
} import java.util.*; util.* java public class Main {
    public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    }

    private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    }

    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    }
} Main public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    } main {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    } char s[] = sc.next().toCharArray(); s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc char ans[] = new char[7]; ans new char[7] 7 for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            ans[i * 2] = s[i];
        } {
            ans[i * 2] = s[i];
        } ans[i * 2] = s[i] ans[i * 2] ans i * 2 i 2 s[i] s i for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        } int tmp = 0; int tmp = 0; tmp 0 tmp < (1 << 3) tmp (1 << 3) 1 3 tmp++ tmp++ tmp {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        } {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        } for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            } int b = 0; int b = 0; b 0 b < 3 b 3 b++ b++ b {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            } {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            } ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-') ans[b * 2 + 1] ans b * 2 + 1 b * 2 b 2 1 ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-') (((tmp & (1 << b)) >> b) == 1) ((tmp & (1 << b)) >> b) (tmp & (1 << b)) tmp (1 << b) 1 b b 1 '+' '-' if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            } check(ans) check ans {
                System.out.println(new String(ans) + "=7");
                break;
            } System.out.println(new String(ans) + "=7") System.out.println System.out System System.out new String(ans) + "=7" new String(ans) "=7" break; Scanner sc sc private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    } check {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    } int ans = str[0] - '0'; ans str[0] - '0' str[0] str 0 '0' for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        } {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        } if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            } str[i * 2 + 1] == '+' str[i * 2 + 1] str i * 2 + 1 i * 2 i 2 1 '+' {
                ans += str[i * 2 + 2] - '0';
            } ans += str[i * 2 + 2] - '0' ans str[i * 2 + 2] - '0' str[i * 2 + 2] str i * 2 + 2 i * 2 i 2 2 '0' {
                ans -= str[i * 2 + 2] - '0';
            } ans -= str[i * 2 + 2] - '0' ans str[i * 2 + 2] - '0' str[i * 2 + 2] str i * 2 + 2 i * 2 i 2 2 '0' return ans == 7; ans == 7 ans 7 char str[] str public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    } try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        } catch (Exception e) {
            throw e;
        } Exception e {
            throw e;
        } throw e; e {
            new Main().main(sc);
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) new Main().main(sc) new Main().main new Main() sc String[] args args public class Main {
    public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    }

    private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    }

    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    }
} public class Main {
    public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    }

    private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    }

    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    }
} Main
import java.util.*;

public class Main {
    public void main(Scanner sc) {
        char s[] = sc.next().toCharArray();
        char ans[] = new char[7];

        for (int i = 0; i < 4; i++) {
            ans[i * 2] = s[i];
        }
        for (int tmp = 0; tmp < (1 << 3); tmp++) {
            for (int b = 0; b < 3; b++) {
                ans[b * 2 + 1] = ((((tmp & (1 << b)) >> b) == 1) ? '+' : '-');
            }
            if (check(ans)) {
                System.out.println(new String(ans) + "=7");
                break;
            }
        }
    }

    private boolean check(char str[]) {
        int ans = str[0] - '0';
        for (int i = 0; i < 3; i++) {
            if (str[i * 2 + 1] == '+') {
                ans += str[i * 2 + 2] - '0';
            } else {
                ans -= str[i * 2 + 2] - '0';
            }
        }

        return ans == 7;
    }

    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            new Main().main(sc);
        } catch (Exception e) {
            throw e;
        }
    }
}
