import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int input = scan.nextInt(); input scan.nextInt() scan.nextInt scan int A A B B C C D; D D = input % 10 D input % 10 input 10 input /= 10 input 10 C = input % 10 C input % 10 input 10 input /= 10 input 10 B = input % 10 B input % 10 input 10 input /= 10 input 10 A = input A input if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A+B+C+D==7 A+B+C+D C A+B+C+D A B C D 7 {
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        } System.out.println(A+"+"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"+"+B+"+"+C+"+"+D+"=7" A "+" B "+" C "+" D "=7" if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A-B+C+D==7 A-B+C+D A-B+C+D A-B A B C D 7 {
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        } System.out.println(A+"-"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"-"+B+"+"+C+"+"+D+"=7" A "-" B "+" C "+" D "=7" if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A+B-C+D==7 A+B-C+D A+B-C A+B A B C D 7 {
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        } System.out.println(A+"+"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"+"+B+"-"+C+"+"+D+"=7" A "+" B "-" C "+" D "=7" if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A+B+C-D==7 A+B+C-D A+B+C A+B+C A B C D 7 {
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        } System.out.println(A+"+"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"+"+B+"+"+C+"-"+D+"=7" A "+" B "+" C "-" D "=7" if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A-B-C+D==7 A-B-C+D A-B-C A-B-C A B C D 7 {
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        } System.out.println(A+"-"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"-"+B+"-"+C+"+"+D+"=7" A "-" B "-" C "+" D "=7" if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A-B+C-D==7 A-B+C-D A-B+C A-B A B C D 7 {
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        } System.out.println(A+"-"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"-"+B+"+"+C+"-"+D+"=7" A "-" B "+" C "-" D "=7" if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A+B-C-D==7 A+B-C-D A+B-C-D A+B A B C D 7 {
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        } System.out.println(A+"+"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"+"+B+"-"+C+"-"+D+"=7" A "+" B "-" C "-" D "=7" if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } A-B-C-D==7 A-B-C-D C A-B-C-D A B C D 7 {
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        } System.out.println(A+"-"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"-"+B+"-"+C+"-"+D+"=7" A "-" B "-" C "-" D "=7" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        int A, B, C, D;
        D = input % 10;
        input /= 10;
        C = input % 10;
        input /= 10;
        B = input % 10;
        input /= 10;
        A = input;//

        if(A+B+C+D==7){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }
        else if(A-B+C+D==7){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }
        else if(A+B-C+D==7){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }
        else if(A+B+C-D==7){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }
        else if(A-B-C+D==7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }
        else if(A-B+C-D==7){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }
        else if(A+B-C-D==7){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }
        else if(A-B-C-D==7){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
}
