import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	}


} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	}


} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] c = sc.next().toCharArray(); c sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		} int i=0; int i=0; i 0 i<(1<<3) i (1<<3) 1 3 i++ i++ i {
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		} {
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		} StringBuffer str = new StringBuffer(); str new StringBuffer() str.append(c[0]) str.append str c[0] c 0 int cal = Character.getNumericValue(c[0]); cal Character.getNumericValue(c[0]) Character.getNumericValue Character c[0] c 0 for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			} int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			} {
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			} if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				} (1 & i>>j) == 1 (1 & i>>j) 1 i>>j i j 1 {
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				} str.append("+") str.append str "+" cal += Character.getNumericValue(c[j+1]) cal Character.getNumericValue(c[j+1]) Character.getNumericValue Character c[j+1] c j+1 j 1 {
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				} str.append("-") str.append str "-" cal -= Character.getNumericValue(c[j+1]) cal Character.getNumericValue(c[j+1]) Character.getNumericValue Character c[j+1] c j+1 j 1 str.append(c[j+1]) str.append str c[j+1] c j+1 j 1 if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			} cal == 7 cal 7 {
				System.out.println(str.toString() + "=7");
				break;
			} System.out.println(str.toString() + "=7") System.out.println System.out System System.out str.toString() + "=7" str.toString() str.toString str "=7" break; sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	}


} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	}


} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		char[] c = sc.next().toCharArray();
		for(int i=0; i<(1<<3); i++){
			StringBuffer str = new StringBuffer();
			str.append(c[0]);
			int cal = Character.getNumericValue(c[0]);
			for(int j=0; j<3;j++){
				if ((1 & i>>j) == 1){
					str.append("+");
					cal += Character.getNumericValue(c[j+1]);
				}else{
					str.append("-");
					cal -= Character.getNumericValue(c[j+1]);
				}
				str.append(c[j+1]);
			}
			if(cal == 7){
				System.out.println(str.toString() + "=7");
				break;
			}
		}

		sc.close();
	}


}
