import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	}
} import java.util.*; util.* java public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	}
} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char c[] = sc.nextLine().toCharArray(); c sc.nextLine().toCharArray() sc.nextLine().toCharArray sc.nextLine() sc.nextLine sc for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=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 {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		} {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		} int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])}; c_num {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])} Character.getNumericValue(c[1]) Character.getNumericValue Character c[1] c 1 Character.getNumericValue(c[2]) Character.getNumericValue Character c[2] c 2 Character.getNumericValue(c[3]) Character.getNumericValue Character c[3] c 3 String answer[] = new String[3]; answer new String[3] 3 for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			} int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			} {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			} if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				} (1 & i >> j) == 1 (1 & i >> j) 1 i >> j i j 1 {
					c_num[j] = -c_num[j];
				} c_num[j] = -c_num[j] c_num[j] c_num j -c_num[j] c_num[j] c_num j if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			} Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7 Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] c_num[1] Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] Character.getNumericValue(c[0]) Character.getNumericValue Character c[0] c 0 c_num[0] c_num 0 c_num[1] c_num 1 c_num[2] c_num 2 7 {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			} for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				} int k = 0; int k = 0; k 0 k < 3 k 3 k++ k++ k {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				} {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				} if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					} c_num[k] >= 0 c_num[k] c_num k 0 {
						answer[k] = "+" + c_num[k];
					} answer[k] = "+" + c_num[k] answer[k] answer k "+" + c_num[k] "+" c_num[k] c_num k {
						answer[k] = String.valueOf(c_num[k]);
					} answer[k] = String.valueOf(c_num[k]) answer[k] answer k String.valueOf(c_num[k]) String.valueOf String c_num[k] c_num k System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7") System.out.println System.out System System.out c[0] + answer[0] + answer[1] + answer[2] + "=7" answer[2] answer[1] c[0] + answer[0] + answer[1] + answer[2] + "=7" c[0] c 0 answer[0] answer 0 answer[1] answer 1 answer[2] answer 2 "=7" break; String args[] args public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	}
} public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	}
} Main
import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		char c[] = sc.nextLine().toCharArray();
		for(int i = 0; i < Math.pow(2, 3); i++) {
			int c_num[] = {Character.getNumericValue(c[1]), Character.getNumericValue(c[2]), Character.getNumericValue(c[3])};			
			String answer[] = new String[3];
			for(int j = 0; j < 3; j++) {
				if((1 & i >> j) == 1) {
					c_num[j] = -c_num[j];
				}
			}
			if(Character.getNumericValue(c[0]) + c_num[0] + c_num[1] + c_num[2] == 7) {
				for(int k = 0; k < 3; k++) {
					if(c_num[k] >= 0) {
						answer[k] = "+" + c_num[k];
					} else {
						answer[k] = String.valueOf(c_num[k]);
					}
				}
				System.out.println(c[0] + answer[0] + answer[1] + answer[2] + "=7");
				break;
			}
		}
	}
}