import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        char[] sc = S.toCharArray();
        int len = S.length();

        for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        }
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        char[] sc = S.toCharArray();
        int len = S.length();

        for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        }
    }
} Main public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        char[] sc = S.toCharArray();
        int len = S.length();

        for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        }
    } main {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        char[] sc = S.toCharArray();
        int len = S.length();

        for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String S = scan.nextLine(); S scan.nextLine() scan.nextLine scan char[] sc = S.toCharArray(); sc S.toCharArray() S.toCharArray S int len = S.length(); len S.length() S.length S for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        } int i = 0; int i = 0; i 0 i < (1<<len) i (1<<len) 1 len i++ i++ i {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        } {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        } StringBuilder sb = new StringBuilder().append(sc[0]); sb new StringBuilder().append(sc[0]) new StringBuilder().append new StringBuilder() sc[0] sc 0 int sum = Character.getNumericValue(sc[0]); sum Character.getNumericValue(sc[0]) Character.getNumericValue Character sc[0] sc 0 for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            } int k = 1; int k = 1; k 1 k  < len k len k++ k++ k {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            } {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            } if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                } (1 & (i >> k)) == 1 (1 & (i >> k)) 1 (i >> k) i k 1 {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } sb.append("+" + sc[k]) sb.append sb "+" + sc[k] "+" sc[k] sc k sum += Character.getNumericValue(sc[k]) sum Character.getNumericValue(sc[k]) Character.getNumericValue Character sc[k] sc k {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                } sb.append("-" + sc[k]) sb.append sb "-" + sc[k] "-" sc[k] sc k sum -= Character.getNumericValue(sc[k]) sum Character.getNumericValue(sc[k]) Character.getNumericValue Character sc[k] sc k if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            } sum == 7 sum 7 {
                System.out.println(sb.toString() + "=" + sum);
                break;
            } System.out.println(sb.toString() + "=" + sum) System.out.println System.out System System.out sb.toString() + "=" + sum sb.toString() + "=" + sum sb.toString() sb.toString sb "=" sum break; final String[] args args
import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        char[] sc = S.toCharArray();
        int len = S.length();

        for (int i = 0; i < (1<<len); i++) {
            StringBuilder sb = new StringBuilder().append(sc[0]);
            int sum = Character.getNumericValue(sc[0]);
            for (int k = 1; k  < len; k++) {
                if ((1 & (i >> k)) == 1) {
                    sb.append("+" + sc[k]);
                    sum += Character.getNumericValue(sc[k]);
                } else {
                    sb.append("-" + sc[k]);
                    sum -= Character.getNumericValue(sc[k]);
                }
            }
            if (sum == 7) {
                System.out.println(sb.toString() + "=" + sum);
                break;
            }
        }
    }
}