import java.util.*;

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

class Solver {

    public void run() {
        Scanner sc = new Scanner(System.in);
        char[] S = sc.next().toCharArray();
        int[] A = new int[4];

        for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        }

        for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        }

        return;
    }

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

    public void run() {
        Scanner sc = new Scanner(System.in);
        char[] S = sc.next().toCharArray();
        int[] A = new int[4];

        for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        }

        for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        }

        return;
    }

} Solver public void run() {
        Scanner sc = new Scanner(System.in);
        char[] S = sc.next().toCharArray();
        int[] A = new int[4];

        for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        }

        for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        }

        return;
    } run {
        Scanner sc = new Scanner(System.in);
        char[] S = sc.next().toCharArray();
        int[] A = new int[4];

        for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        }

        for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        }

        return;
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] S = sc.next().toCharArray(); S sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc int[] A = new int[4]; A new int[4] 4 for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            A[i] = S[i] - '0';
        } {
            A[i] = S[i] - '0';
        } A[i] = S[i] - '0' A[i] A i S[i] - '0' S[i] S i '0' for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        } int bit = 0; int bit = 0; bit 0 bit < (1 << 3) bit (1 << 3) 1 3 bit++ bit++ bit {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        } {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        } List<Character> list = new ArrayList<Character>(); list new ArrayList<Character>() int k = 0; k 0 int sum = A[0]; sum A[0] A 0 for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            } int i = 0; int i = 0; i 0 i < 3 i 3 i++, k++ i++ i k++ k {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            } {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            } if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                } (bit & (1 << i)) > 0 (bit & (1 << i)) bit (1 << i) 1 i 0 {
                    sum += A[i+1];
                    list.add('+');
                } sum += A[i+1] sum A[i+1] A i+1 i 1 list.add('+') list.add list '+' {
                    sum -= A[i+1];
                    list.add('-');
                } sum -= A[i+1] sum A[i+1] A i+1 i 1 list.add('-') list.add list '-' if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } sum == 7 sum 7 {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            } StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(S[0]) sb.append sb S[0] S 0 for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                } {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                } sb.append(list.get(i)) sb.append sb list.get(i) list.get list i sb.append(S[i + 1]) sb.append sb S[i + 1] S i + 1 i 1 sb.append("=7") sb.append sb "=7" System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb return; return;
import java.util.*;

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

class Solver {

    public void run() {
        Scanner sc = new Scanner(System.in);
        char[] S = sc.next().toCharArray();
        int[] A = new int[4];

        for (int i = 0; i < 4; i++) {
            A[i] = S[i] - '0';
        }

        for (int bit = 0; bit < (1 << 3); bit++) {
            List<Character> list = new ArrayList<Character>();

            //System.out.println(String.format("%4s",Integer.toBinaryString(bit)));
            int k = 0;
            int sum = A[0];
            for (int i = 0; i < 3; i++, k++) {
                //System.out.println("\t" + String.format("%4s", Integer.toBinaryString((1 << i))) + " ");
                if ((bit & (1 << i)) > 0) {
                    sum += A[i+1];
                    list.add('+');
                } else {
                    sum -= A[i+1];
                    list.add('-');
                }
            }

            //for (Character c : list) System.out.print(c);
            //System.out.println(" "+ sum);
            if (sum == 7) {
                StringBuilder sb = new StringBuilder();
                sb.append(S[0]);
                for (int i = 0; i < 3; i++) {
                    sb.append(list.get(i));
                    sb.append(S[i + 1]);
                }
                sb.append("=7");
                System.out.println(sb.toString());
                return;
            }

        }

        return;
    }

}