import java.util.Scanner;

class Main {
    static public void main(String args[]){

        Scanner scan = new Scanner(System.in);
        int in = scan.nextInt();

        int a,b,c,d;
        d = in % 10;
        in /= 10;
        c = in % 10;
        in /= 10;
        b = in % 10;
        in /= 10;
        a = in % 10;
        in /= 10;

        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 class Main {
    static public void main(String args[]){

        Scanner scan = new Scanner(System.in);
        int in = scan.nextInt();

        int a,b,c,d;
        d = in % 10;
        in /= 10;
        c = in % 10;
        in /= 10;
        b = in % 10;
        in /= 10;
        a = in % 10;
        in /= 10;

        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 static public void main(String args[]){

        Scanner scan = new Scanner(System.in);
        int in = scan.nextInt();

        int a,b,c,d;
        d = in % 10;
        in /= 10;
        c = in % 10;
        in /= 10;
        b = in % 10;
        in /= 10;
        a = in % 10;
        in /= 10;

        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 in = scan.nextInt();

        int a,b,c,d;
        d = in % 10;
        in /= 10;
        c = in % 10;
        in /= 10;
        b = in % 10;
        in /= 10;
        a = in % 10;
        in /= 10;

        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 in = scan.nextInt(); in scan.nextInt() scan.nextInt scan int a a b b c c d; d d = in % 10 d in % 10 in 10 in /= 10 in 10 c = in % 10 c in % 10 in 10 in /= 10 in 10 b = in % 10 b in % 10 in 10 in /= 10 in 10 a = in % 10 a in % 10 in 10 in /= 10 in 10 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 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 a+b+c 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 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-d a+b 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+d a-b 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 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 a-b-c 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 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
import java.util.Scanner;

class Main {
    static public void main(String args[]){

        Scanner scan = new Scanner(System.in);
        int in = scan.nextInt();

        int a,b,c,d;
        d = in % 10;
        in /= 10;
        c = in % 10;
        in /= 10;
        b = in % 10;
        in /= 10;
        a = in % 10;
        in /= 10;

        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");

    }
}
