import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc char[] s1=new char[s.length()+1]; s1 new char[s.length()+1] s.length()+1 s.length() s.length s 1 for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		} int i=0; int i=0; i 0 i<s.length() i s.length() s.length s i++ i++ i {
			s1[i]=s.charAt(i);
		} {
			s1[i]=s.charAt(i);
		} s1[i]=s.charAt(i) s1[i] s1 i s.charAt(i) s.charAt s i for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		} int i = 0; int i = 0; i 0 i<Math.pow(2,s.length()-1) i Math.pow(2,s.length()-1) Math.pow Math 2 s.length()-1 s.length() s.length s 1 i++ i++ i {
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		} {
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		} long ans = Long.parseLong(String.valueOf(s1[0])); ans Long.parseLong(String.valueOf(s1[0])) Long.parseLong Long String.valueOf(s1[0]) String.valueOf String s1[0] s1 0 StringBuilder sb=new StringBuilder(); sb new StringBuilder() sb.append(s) sb.append sb s int t=i; t i int count=1; count 1 String a=String.valueOf(s1[1]); a String.valueOf(s1[1]) String.valueOf String s1[1] s1 1 while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			} count<s.length() count s.length() s.length s {
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			} if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				} (t & 1)==1 (t & 1) t 1 1 {
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				} ans+=Long.parseLong(a) ans Long.parseLong(a) Long.parseLong Long a sb.insert(count*2-1,"+") sb.insert sb count*2-1 count*2 count 2 1 "+" {
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				} ans-=Long.parseLong(a) ans Long.parseLong(a) Long.parseLong Long a sb.insert(count*2-1,"-") sb.insert sb count*2-1 count*2 count 2 1 "-" count++ count a=String.valueOf(s1[count]) a String.valueOf(s1[count]) String.valueOf String s1[count] s1 count t>>=1 t 1 if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			} ans==7 ans 7 {
				sb.append("=7");
				System.out.println(sb);
				return;
			} sb.append("=7") sb.append sb "=7" System.out.println(sb) System.out.println System.out System System.out sb return; String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		char[] s1=new char[s.length()+1];
		for(int i=0; i<s.length(); i++){
			s1[i]=s.charAt(i);
		}
		for(int i = 0; i<Math.pow(2,s.length()-1); i++){
			long ans = Long.parseLong(String.valueOf(s1[0]));
			StringBuilder sb=new StringBuilder();
			sb.append(s);
			int t=i;
			int count=1;
			String a=String.valueOf(s1[1]);
			while(count<s.length()){
				if((t & 1)==1){
					ans+=Long.parseLong(a);
					
						sb.insert(count*2-1,"+");
					
				}else{
					ans-=Long.parseLong(a);
					
						sb.insert(count*2-1,"-");
					
				}
				count++;
				a=String.valueOf(s1[count]);
				t>>=1;
			}
			if(ans==7){
				sb.append("=7");
				System.out.println(sb);
				return;
			}
		}
	}
}