import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] abcd = sc.next().toCharArray(); abcd sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        } int i = 0; int i = 0; i 0 i < 1 << abcd.length - 1 i 1 << abcd.length - 1 1 abcd.length - 1 abcd.length abcd abcd.length 1 i++ i++ i {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        } {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        } int ii = abcd[0] - 48; ii abcd[0] - 48 abcd[0] abcd 0 48 char[] op = new char[3]; op new char[3] 3 for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            } int j = 0; int j = 0; j 0 j < abcd.length - 1 j abcd.length - 1 abcd.length abcd abcd.length 1 j++ j++ j {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            } {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            } int n = abcd[j + 1] - 48; n abcd[j + 1] - 48 abcd[j + 1] abcd j + 1 j 1 48 if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                } (1 & i >> j) == 1 (1 & i >> j) 1 i >> j i j 1 {
                    ii += n;
                    op[j] = '+';
                } ii += n ii n op[j] = '+' op[j] op j '+' {
                    ii -= n;
                    op[j] = '-';
                } ii -= n ii n op[j] = '-' op[j] op j '-' if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            } ii == 7 ii 7 {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            } System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]) System.out.printf System.out System System.out "%c%c%c%c%c%c%c=7\n" abcd[0] abcd 0 op[0] op 0 abcd[1] abcd 1 op[1] op 1 abcd[2] abcd 2 op[2] op 2 abcd[3] abcd 3 return; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char[] abcd = sc.next().toCharArray();
        for (int i = 0; i < 1 << abcd.length - 1; i++) {
            int ii = abcd[0] - 48;
            char[] op = new char[3];
            for (int j = 0; j < abcd.length - 1; j++) {
                int n = abcd[j + 1] - 48;
                if ((1 & i >> j) == 1) {
                    ii += n;
                    op[j] = '+';
                } else {
                    ii -= n;
                    op[j] = '-';
                }
            }
            if (ii == 7) {
                System.out.printf("%c%c%c%c%c%c%c=7\n", abcd[0], op[0], abcd[1], op[1], abcd[2], op[2], abcd[3]);
                return;
            }
        }
    }
}
