import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    }
} Main public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    } run {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String N = scanner.next(); N scanner.next() scanner.next scanner int A = Integer.valueOf(N.substring(0,1)); A Integer.valueOf(N.substring(0,1)) Integer.valueOf Integer N.substring(0,1) N.substring N 0 1 int B = Integer.valueOf(N.substring(1,2)); B Integer.valueOf(N.substring(1,2)) Integer.valueOf Integer N.substring(1,2) N.substring N 1 2 int C = Integer.valueOf(N.substring(2,3)); C Integer.valueOf(N.substring(2,3)) Integer.valueOf Integer N.substring(2,3) N.substring N 2 3 int D = Integer.valueOf(N.substring(3,4)); D Integer.valueOf(N.substring(3,4)) Integer.valueOf Integer N.substring(3,4) N.substring N 3 4 String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        }; op new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        } for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        } int i = 0; int i = 0; i 0 i < op.length i op.length op op.length i++ i++ i {
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        } {
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        } int tmp; tmp if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            } op[i][0].equals("+") op[i][0].equals op[i][0] op[i] op i 0 "+" {
                tmp = A + B;
            } tmp = A + B tmp A + B A B {
                tmp = A - B;
            } tmp = A - B tmp A - B A B if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            } op[i][1].equals("+") op[i][1].equals op[i][1] op[i] op i 1 "+" {
                tmp = tmp + C;
            } tmp = tmp + C tmp tmp + C tmp C {
                tmp = tmp - C;
            } tmp = tmp - C tmp tmp - C tmp C if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            } op[i][2].equals("+") op[i][2].equals op[i][2] op[i] op i 2 "+" {
                tmp = tmp + D;
            } tmp = tmp + D tmp tmp + D tmp D {
                tmp = tmp - D;
            } tmp = tmp - D tmp tmp - D tmp D if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            } tmp == 7 tmp 7 {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            } System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7") System.out.println System.out System System.out A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7" D op[i][2] C op[i][1] B A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7" A op[i][0] op[i] op i 0 B op[i][1] op[i] op i 1 C op[i][2] op[i] op i 2 D "=7" return; public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    }
} public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        String N = scanner.next();
        int A = Integer.valueOf(N.substring(0,1));
        int B = Integer.valueOf(N.substring(1,2));
        int C = Integer.valueOf(N.substring(2,3));
        int D = Integer.valueOf(N.substring(3,4));
        String op[][] = new String[][]{
            {"+", "+", "+"},
            {"+", "+", "-"},
            {"+", "-", "+"},
            {"-", "+", "+"},
            {"+", "-", "-"},
            {"-", "+", "-"},
            {"-", "-", "+"},
            {"-", "-", "-"},
        };
        for(int i = 0; i < op.length; i++){
            int tmp;
            if(op[i][0].equals("+")) {
                tmp = A + B;
            }else {
                tmp = A - B;
            }

            if(op[i][1].equals("+")) {
                tmp = tmp + C;
            }else {
                tmp = tmp - C;
            }

            if(op[i][2].equals("+")) {
                tmp = tmp + D;
            }else {
                tmp = tmp - D;
            }

            if(tmp == 7) {
                System.out.println(A+op[i][0]+B+op[i][1]+C+op[i][2]+D+"=7");
                return;
            }
        }


    }
}