import java.util.*;

public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    }


    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

} import java.util.*; util.* java public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    }


    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

} Main void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    } run {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int ops = s.length() - 1; ops s.length() - 1 s.length() s.length s 1 int ans = 0; ans 0 for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        } int bit = 0; int bit = 0; bit 0 bit < (1 << ops) bit (1 << ops) 1 ops bit++ bit++ bit {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        } {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        } int sum = Character.getNumericValue(s.charAt(0)); sum Character.getNumericValue(s.charAt(0)) Character.getNumericValue Character s.charAt(0) s.charAt s 0 for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            } int i = 0; int i = 0; i 0 i < ops i ops i++ i++ i {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            } {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            } int next = Character.getNumericValue(s.charAt(i + 1)); next Character.getNumericValue(s.charAt(i + 1)) Character.getNumericValue Character s.charAt(i + 1) s.charAt s i + 1 i 1 if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next; (bit & (1 << i)) != 0 (bit & (1 << i)) bit (1 << i) 1 i 0 sum += next sum next sum -= next sum next if (sum == 7) {
                ans = bit;
                break;
            } sum == 7 sum 7 {
                ans = bit;
                break;
            } ans = bit ans bit break; System.out.print(s.charAt(0)) System.out.print System.out System System.out s.charAt(0) s.charAt s 0 for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        } int i = 0; int i = 0; i 0 i < ops i ops i++ i++ i {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        } {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        } System.out.print((ans & (1 << i)) != 0 ? "+" : "-") System.out.print System.out System System.out (ans & (1 << i)) != 0 ? "+" : "-" (ans & (1 << i)) != 0 (ans & (1 << i)) ans (1 << i) 1 i 0 "+" "-" System.out.print(s.charAt(i + 1)) System.out.print System.out System System.out s.charAt(i + 1) s.charAt s i + 1 i 1 System.out.println("=7") System.out.println System.out System System.out "=7" void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    } debug {
        System.err.println(Arrays.deepToString(os));
    } System.err.println(Arrays.deepToString(os)) System.err.println System.err System System.err Arrays.deepToString(os) Arrays.deepToString Arrays os Object... os os public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    }


    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

} public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    }


    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

} Main
import java.util.*;

public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        int ops = s.length() - 1;
        int ans = 0;
        for (int bit = 0; bit < (1 << ops); bit++) {
            int sum = Character.getNumericValue(s.charAt(0));
            for (int i = 0; i < ops; i++) {
                int next = Character.getNumericValue(s.charAt(i + 1));
//                debug(bit, sum ,next);
                if ((bit & (1 << i)) != 0) sum += next;
                else sum -= next;
            }
//            debug(bit, sum);
            if (sum == 7) {
                ans = bit;
                break;
            }
        }
        System.out.print(s.charAt(0));
        for (int i = 0; i < ops; i++) {
            System.out.print((ans & (1 << i)) != 0 ? "+" : "-");
            System.out.print(s.charAt(i + 1));
        }
        System.out.println("=7");
    }


    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

}
