import java.util.Scanner;


public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	}
} 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();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

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

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	} main {

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		} int i = 0; int i = 0; i 0 i<Math.pow(2, 3) i Math.pow(2, 3) Math.pow Math 2 3 i++ i++ i {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		} {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		} StringBuilder sb = new StringBuilder(S); sb new StringBuilder(S) boolean plus = true; plus true int judge = 0; judge 0 for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			} int j = 2; int j = 2; j 2 j>=0 j 0 j-- j-- j {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			} {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			} if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				} (1&i>>j)==1 (1&i>>j) 1 i>>j i j 1 {
					sb.insert(j+1, "+");
				} sb.insert(j+1, "+") sb.insert sb j+1 j 1 "+" {
					sb.insert(j+1, "-");
				} sb.insert(j+1, "-") sb.insert sb j+1 j 1 "-" String str = sb.toString(); str sb.toString() sb.toString sb for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			} int n = 0; int n = 0; n 0 n<7 n 7 n++ n++ n {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			} {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			} char st =str.charAt(n); st str.charAt(n) str.charAt str n if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				} n==0 n 0 {
					judge+= Character.getNumericValue(st);
					continue;
				} judge+= Character.getNumericValue(st) judge Character.getNumericValue(st) Character.getNumericValue Character st continue; if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				} n%2==0 n%2 n 2 0 {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				} if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					} plus==true plus true {
					judge+= Character.getNumericValue(st);
					} judge+= Character.getNumericValue(st) judge Character.getNumericValue(st) Character.getNumericValue Character st {
					judge-= Character.getNumericValue(st);
					} judge-= Character.getNumericValue(st) judge Character.getNumericValue(st) Character.getNumericValue Character st if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				} n%2==1 n%2 n 2 1 {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				} if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					} st=='+' st '+' {
						plus=true;
					} plus=true plus true {
						plus =  false;
					} plus =  false plus false if(judge==7) {
				System.out.println(str+"=7");
				break;

			} judge==7 judge 7 {
				System.out.println(str+"=7");
				break;

			} System.out.println(str+"=7") System.out.println System.out System System.out str+"=7" str "=7" break; String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	}
} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	}
} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String S = sc.next();

		for(int i = 0;i<Math.pow(2, 3);i++) {
			StringBuilder sb = new StringBuilder(S);
			boolean plus = true;
			int judge = 0;


			for(int j = 2;j>=0;j--) {
				if((1&i>>j)==1) {
					sb.insert(j+1, "+");
				}else {
					sb.insert(j+1, "-");
				}
			}

			String str = sb.toString();

			for(int n = 0;n<7;n++) {

				char st =str.charAt(n);

				if(n==0) {
					judge+= Character.getNumericValue(st);
					continue;
				}else if(n%2==0) {
					if(plus==true) {
					judge+= Character.getNumericValue(st);
					}else {
					judge-= Character.getNumericValue(st);
					}
				}else if(n%2==1) {
					if(st=='+') {
						plus=true;
					}else {
						plus =  false;
					}
				}


			}
			if(judge==7) {
				System.out.println(str+"=7");
				break;

			}
			
		}
	}
}