import java.util.*;
 
public class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    }
} Main public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int D = N % 10; D N % 10 N 10 N /= 10 N 10 int C = N % 10; C N % 10 N 10 N /= 10 N 10 int B = N % 10; B N % 10 N 10 N /= 10 N 10 int A = N % 10; A N % 10 N 10 sc.close() sc.close sc if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        } 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");
            return;
        } 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" return; String args[] args public class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    }
} public class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

        if(A+B+C+D == 7){
            System.out.println(A + "+" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C+D == 7){
            System.out.println(A + "-" + B + "+" + C + "+" + D + "=7");
            return;
        }
        if(A+B-C+D == 7){
            System.out.println(A + "+" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A+B+C-D == 7){
            System.out.println(A + "+" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C+D == 7){
            System.out.println(A + "-" + B + "-" + C + "+" + D + "=7");
            return;
        }
        if(A-B+C-D == 7){
            System.out.println(A + "-" + B + "+" + C + "-" + D + "=7");
            return;
        }
        if(A+B-C-D == 7){
            System.out.println(A + "+" + B + "-" + C + "-" + D + "=7");
            return;
        }
        if(A-B-C-D == 7){
            System.out.println(A + "-" + B + "-" + C + "-" + D + "=7");
            return;
        }
    }
} Main
import java.util.*;
 
public class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int D = N % 10;
        N /= 10;
        int C = N % 10;
        N /= 10;
        int B = N % 10;
        N /= 10;
        int A = N % 10;
        sc.close();

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