import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    } try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        } {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) String S = in.next(); S in.next() in.next in int A = S.charAt(0) - '0'; A S.charAt(0) - '0' S.charAt(0) S.charAt S 0 '0' int B = S.charAt(1) - '0'; B S.charAt(1) - '0' S.charAt(1) S.charAt S 1 '0' int C = S.charAt(2) - '0'; C S.charAt(2) - '0' S.charAt(2) S.charAt S 2 '0' int D = S.charAt(3) - '0'; D S.charAt(3) - '0' S.charAt(3) S.charAt S 3 '0' for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            } int op1 = -1; int op1 = -1; op1 -1 1 op1 <= 1 op1 1 op1 += 2 op1 += 2 op1 2 {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            } {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            } for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                } int op2 = -1; int op2 = -1; op2 -1 1 op2 <= 1 op2 1 op2 += 2 op2 += 2 op2 2 {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                } {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                } for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    } int op3 = -1; int op3 = -1; op3 -1 1 op3 <= 1 op3 1 op3 += 2 op3 += 2 op3 2 {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    } {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    } if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        } A + op1 * B + op2 * C + op3 * D == 7 A + op1 * B + op2 * C + op3 * D op2 * C A + op1 * B + op2 * C + op3 * D A op1 * B op1 B op2 * C op2 C op3 * D op3 D 7 {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        } System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7") System.out.println System.out System System.out "" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7" D (op3 == 1 ? "+" : "-") C (op2 == 1 ? "+" : "-") B (op1 == 1 ? "+" : "-") "" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7" "" A (op1 == 1 ? "+" : "-") op1 == 1 op1 1 "+" "-" B (op2 == 1 ? "+" : "-") op2 == 1 op2 1 "+" "-" C (op3 == 1 ? "+" : "-") op3 == 1 op3 1 "+" "-" D "=7" return; String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            String S = in.next();
            int A = S.charAt(0) - '0';
            int B = S.charAt(1) - '0';
            int C = S.charAt(2) - '0';
            int D = S.charAt(3) - '0';

            for (int op1 = -1; op1 <= 1; op1 += 2) {
                for (int op2 = -1; op2 <= 1; op2 += 2) {
                    for (int op3 = -1; op3 <= 1; op3 += 2) {
                        if (A + op1 * B + op2 * C + op3 * D == 7) {
                            System.out.println("" + A + (op1 == 1 ? "+" : "-") + B + (op2 == 1 ? "+" : "-") + C + (op3 == 1 ? "+" : "-") + D + "=7");
                            return;
                        }
                    }
                }
            }

        }
    }
}
