import java.util.*;
import java.io.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        String S = sc.next();
        int[] num = new int[S.length()];
        for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        }

        String ans = "";
        for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        }
        out.printf("%s\n", ans);
        out.flush();
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        String S = sc.next();
        int[] num = new int[S.length()];
        for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        }

        String ans = "";
        for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        }
        out.printf("%s\n", ans);
        out.flush();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        String S = sc.next();
        int[] num = new int[S.length()];
        for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        }

        String ans = "";
        for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        }
        out.printf("%s\n", ans);
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        String S = sc.next();
        int[] num = new int[S.length()];
        for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        }

        String ans = "";
        for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        }
        out.printf("%s\n", ans);
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) String S = sc.next(); S sc.next() sc.next sc int[] num = new int[S.length()]; num new int[S.length()] S.length() S.length S for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        } int i = 0; int i = 0; i 0 i < S.length() i S.length() S.length S i++ i++ i {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        } {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        } num[i] = Integer.parseInt(S.substring(i, i+1)) num[i] num i Integer.parseInt(S.substring(i, i+1)) Integer.parseInt Integer S.substring(i, i+1) S.substring S i i+1 i 1 String ans = ""; ans "" for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        } int i = 0; int i = 0; i 0 i < Math.pow(2, S.length()-1) i Math.pow(2, S.length()-1) Math.pow Math 2 S.length()-1 S.length() S.length S 1 i++ i++ i {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        } {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        } ans = String.valueOf(num[0]) ans String.valueOf(num[0]) String.valueOf String num[0] num 0 int result = num[0]; result num[0] num 0 for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            } int j = 0; int j = 0; j 0 j < S.length()-1 j S.length()-1 S.length() S.length S 1 j++ j++ j {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            } {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            } if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                } (1 & (i >> j)) == 1 (1 & (i >> j)) 1 (i >> j) i j 1 {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } result += num[j+1] result num[j+1] num j+1 j 1 ans += "+" + String.valueOf(num[j+1]) ans "+" + String.valueOf(num[j+1]) "+" String.valueOf(num[j+1]) String.valueOf String num[j+1] num j+1 j 1 {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                } result -= num[j+1] result num[j+1] num j+1 j 1 ans += "-" + String.valueOf(num[j+1]) ans "-" + String.valueOf(num[j+1]) "-" String.valueOf(num[j+1]) String.valueOf String num[j+1] num j+1 j 1 if (result == 7) {
                ans += "=7";
                break;
            } result == 7 result 7 {
                ans += "=7";
                break;
            } ans += "=7" ans "=7" break; out.printf("%s\n", ans) out.printf out "%s\n" ans out.flush() out.flush out String[] args args
import java.util.*;
import java.io.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        String S = sc.next();
        int[] num = new int[S.length()];
        for (int i = 0; i < S.length(); i++) {
            num[i] = Integer.parseInt(S.substring(i, i+1));
        }

        String ans = "";
        for (int i = 0; i < Math.pow(2, S.length()-1); i++) {
            ans = String.valueOf(num[0]);
            int result = num[0];
            for (int j = 0; j < S.length()-1; j++) {
                if ((1 & (i >> j)) == 1) {
                    result += num[j+1];
                    ans += "+" + String.valueOf(num[j+1]);
                } else {
                    result -= num[j+1];
                    ans += "-" + String.valueOf(num[j+1]);
                }
            }
            if (result == 7) {
                ans += "=7";
                break;
            }
        }
        out.printf("%s\n", ans);
        out.flush();
    }
}