import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	}
} import java.util.HashSet; HashSet java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String input = sc.next(); input sc.next() sc.next sc String[] inputString = input.split(""); inputString input.split("") input.split input "" int[] inputInt = new int[4]; inputInt new int[4] 4 for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		} int i = 0; int i = 0; i 0 i < inputString.length i inputString.length inputString inputString.length i++ i++ i {
			inputInt[i] = Integer.parseInt(inputString[i]);
		} {
			inputInt[i] = Integer.parseInt(inputString[i]);
		} inputInt[i] = Integer.parseInt(inputString[i]) inputInt[i] inputInt i Integer.parseInt(inputString[i]) Integer.parseInt Integer inputString[i] inputString i String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } }; op { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } } { "+", "+", "+" } "+" "+" "+" { "+", "+", "-" } "+" "+" "-" { "+", "-", "+" } "+" "-" "+" { "+", "-", "-" } "+" "-" "-" { "-", "+", "+" } "-" "+" "+" { "-", "+", "-" } "-" "+" "-" { "-", "-", "+" } "-" "-" "+" { "-", "-", "-" } "-" "-" "-" for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		} String[] strArray op {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		} {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		} int sum = inputInt[0]; sum inputInt[0] inputInt 0 for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			} {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			} if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				} "+".equals(strArray[i]) "+".equals "+" strArray[i] strArray i {
					sum += inputInt[i + 1];
				} sum += inputInt[i + 1] sum inputInt[i + 1] inputInt i + 1 i 1 {
					sum -= inputInt[i + 1];
				} sum -= inputInt[i + 1] sum inputInt[i + 1] inputInt i + 1 i 1 if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			} sum == 7 sum 7 {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			} System.out.print(inputInt[0]) System.out.print System.out System System.out inputInt[0] inputInt 0 for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				} {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				} System.out.print(strArray[i]) System.out.print System.out System System.out strArray[i] strArray i System.out.print(inputInt[i + 1]) System.out.print System.out System System.out inputInt[i + 1] inputInt i + 1 i 1 System.out.print("=7") System.out.print System.out System System.out "=7" break; String[] args args public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	}
} Main
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String[] inputString = input.split("");
		int[] inputInt = new int[4];
		for (int i = 0; i < inputString.length; i++) {
			inputInt[i] = Integer.parseInt(inputString[i]);
		}
		String[][] op = { { "+", "+", "+" }, { "+", "+", "-" }, { "+", "-", "+" }, { "+", "-", "-" }, { "-", "+", "+" },
				{ "-", "+", "-" }, { "-", "-", "+" }, { "-", "-", "-" } };
		for (String[] strArray : op) {
			int sum = inputInt[0];
			for (int i = 0; i < strArray.length; i++) {
				if ("+".equals(strArray[i])) {
					sum += inputInt[i + 1];
				} else {
					sum -= inputInt[i + 1];
				}
			}
			if (sum == 7) {
				System.out.print(inputInt[0]);
				for (int i = 0; i < strArray.length; i++) {
					System.out.print(strArray[i]);
					System.out.print(inputInt[i + 1]);
				}
				System.out.print("=7");
				break;
			}
		}
	}
}
