import java.util.*;
 
public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    }
} Main public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    } main {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int n1 = Integer.parseInt(s.substring(0,1)); n1 Integer.parseInt(s.substring(0,1)) Integer.parseInt Integer s.substring(0,1) s.substring s 0 1 int n2 = Integer.parseInt(s.substring(1,2)); n2 Integer.parseInt(s.substring(1,2)) Integer.parseInt Integer s.substring(1,2) s.substring s 1 2 int n3 = Integer.parseInt(s.substring(2,3)); n3 Integer.parseInt(s.substring(2,3)) Integer.parseInt Integer s.substring(2,3) s.substring s 2 3 int n4 = Integer.parseInt(s.substring(3,4)); n4 Integer.parseInt(s.substring(3,4)) Integer.parseInt Integer s.substring(3,4) s.substring s 3 4 if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 + n2 + n3 + n4 == 7 n1 + n2 + n3 + n4 n3 n1 + n2 + n3 + n4 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        } System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7") System.out.println System.out System System.out n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7" n4 "+" n3 "+" n2 n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7" n1 "+" n2 "+" n3 "+" n4 "=7" if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 + n2 - n3 + n4 == 7 n1 + n2 - n3 + n4 n1 + n2 - n3 n1 + n2 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        } System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7") System.out.println System.out System System.out n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7" n4 "+" n3 "-" n2 n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7" n1 "+" n2 "-" n3 "+" n4 "=7" if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 + n2 + n3 - n4 == 7 n1 + n2 + n3 - n4 n1 + n2 + n3 n1 + n2 + n3 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        } System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7") System.out.println System.out System System.out n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7" n4 "-" n3 "+" n2 n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7" n1 "+" n2 "+" n3 "-" n4 "=7" if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 + n2 - n3 - n4 == 7 n1 + n2 - n3 - n4 n1 + n2 - n3 - n4 n1 + n2 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        } System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7") System.out.println System.out System System.out n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7" n4 "-" n3 "-" n2 n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7" n1 "+" n2 "-" n3 "-" n4 "=7" if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 - n2 + n3 + n4 == 7 n1 - n2 + n3 + n4 n1 - n2 + n3 + n4 n1 - n2 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        } System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7") System.out.println System.out System System.out n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7" n4 "+" n3 "+" n2 n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7" n1 "-" n2 "+" n3 "+" n4 "=7" if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 - n2 - n3 + n4 == 7 n1 - n2 - n3 + n4 n1 - n2 - n3 n1 - n2 - n3 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        } System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7") System.out.println System.out System System.out n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7" n4 "+" n3 "-" n2 n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7" n1 "-" n2 "-" n3 "+" n4 "=7" if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 - n2 + n3 - n4 == 7 n1 - n2 + n3 - n4 n1 - n2 + n3 n1 - n2 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        } System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7") System.out.println System.out System System.out n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7" n4 "-" n3 "+" n2 n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7" n1 "-" n2 "+" n3 "-" n4 "=7" if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } n1 - n2 - n3 - n4 == 7 n1 - n2 - n3 - n4 n3 n1 - n2 - n3 - n4 n1 n2 n3 n4 7 {
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        } System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7") System.out.println System.out System System.out n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7" n4 "-" n3 "-" n2 n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7" n1 "-" n2 "-" n3 "-" n4 "=7" String[] args args public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    }
} public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    }
} Main
import java.util.*;
 
public class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	String s = sc.next();
        int n1 = Integer.parseInt(s.substring(0,1));
        int n2 = Integer.parseInt(s.substring(1,2));
        int n3 = Integer.parseInt(s.substring(2,3));
        int n4 = Integer.parseInt(s.substring(3,4));
        if(n1 + n2 + n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 - n3 + n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 + n2 + n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 + n2 - n3 - n4 == 7){
        	System.out.println(n1 + "+" + n2 + "-" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 + n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 - n3 + n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "+" + n4 + "=7");
        }else if(n1 - n2 + n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "+" + n3 + "-" + n4 + "=7");
        }else if(n1 - n2 - n3 - n4 == 7){
        	System.out.println(n1 + "-" + n2 + "-" + n3 + "-" + n4 + "=7");
        }
    }
}