import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        } int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        } {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        } StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            } int j = 0; int j = 0; j 0 j < s.length() j s.length() s.length s j++ j++ j {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            } {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            } sb.append(s.charAt(j)) sb.append sb s.charAt(j) s.charAt s j if(j == s.length()-1) break; j == s.length()-1 j s.length()-1 s.length() s.length s 1 break; if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                } (1 & i >> j) == 1 (1 & i >> j) 1 i >> j i j 1 {
                    sb.append("+");
                } sb.append("+") sb.append sb "+" {
                    sb.append("-");
                } sb.append("-") sb.append sb "-" int sum = 0; sum 0 String expression = sb.toString(); expression sb.toString() sb.toString sb for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            } int k = 0; int k = 0; k 0 k < expression.length() k expression.length() expression.length expression k++ k++ k {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            } {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            } if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                } expression.charAt(k) == '+' expression.charAt(k) expression.charAt expression k '+' {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } sum += (expression.charAt(k+1) - '0') sum (expression.charAt(k+1) - '0') expression.charAt(k+1) expression.charAt expression k+1 k 1 '0' k++ k if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                } expression.charAt(k) == '-' expression.charAt(k) expression.charAt expression k '-' {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } sum -= (expression.charAt(k+1) - '0') sum (expression.charAt(k+1) - '0') expression.charAt(k+1) expression.charAt expression k+1 k 1 '0' k++ k {
                    sum += expression.charAt(k) - '0';
                } sum += expression.charAt(k) - '0' sum expression.charAt(k) - '0' expression.charAt(k) expression.charAt expression k '0' if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            } sum == 7 sum 7 {
                System.out.println(expression + "=7");
                return;
            } System.out.println(expression + "=7") System.out.println System.out System System.out expression + "=7" expression "=7" return; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        for(int i = 0; i < 8; i++) {
            StringBuilder sb = new StringBuilder();
            for(int j = 0; j < s.length(); j++) {
                sb.append(s.charAt(j));
                if(j == s.length()-1) break;
                if((1 & i >> j) == 1) {
                    sb.append("+");
                } else {
                    sb.append("-");
                }
            }
            int sum = 0;
            String expression = sb.toString();
            for(int k = 0; k < expression.length(); k++) {
                if (expression.charAt(k) == '+') {
                    sum += (expression.charAt(k+1) - '0');
                    k++;
                } else if (expression.charAt(k) == '-') {
                    sum -= (expression.charAt(k+1) - '0');
                    k++;
                } else {
                    sum += expression.charAt(k) - '0';
                }
            }
            if(sum == 7) {
                System.out.println(expression + "=7");
                return;
            }
        }
    }
}
