import java.util.Scanner;


public class Main {
	static StringBuilder sb = new StringBuilder();

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	}

	public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	static StringBuilder sb = new StringBuilder();

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	}

	public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	}
} Main static StringBuilder sb = new StringBuilder(); sb new StringBuilder() public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int start = Character.getNumericValue(s.charAt(0)); start Character.getNumericValue(s.charAt(0)) Character.getNumericValue Character s.charAt(0) s.charAt s 0 Main main = new Main(); main new Main() main.DC_op(s,1,start,s.substring(0, 1)) main.DC_op main s 1 start s.substring(0, 1) s.substring s 0 1 sb.append("=7") sb.append sb "=7" System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	} DC_op {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	} if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		} steps == s.length() steps s.length() s.length s {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		} if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			} results == 7 results 7 {
				sb.delete(0, sb.length());
				sb.append(form);
			} sb.delete(0, sb.length()) sb.delete sb 0 sb.length() sb.length sb sb.append(form) sb.append sb form {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		} int target = Character.getNumericValue(s.charAt(steps)); target Character.getNumericValue(s.charAt(steps)) Character.getNumericValue Character s.charAt(steps) s.charAt s steps DC_op(s, steps + 1, results + target, form = form + "+" + target) DC_op s steps + 1 steps 1 results + target results target form = form + "+" + target form form + "+" + target form + "+" + target form "+" target form = form.substring(0, form.length() - 2) form form.substring(0, form.length() - 2) form.substring form 0 form.length() - 2 form.length() form.length form 2 DC_op(s, steps + 1, results - target, form = form + "-" + target) DC_op s steps + 1 steps 1 results - target results target form = form + "-" + target form form + "-" + target form + "-" + target form "-" target form = form.substring(0, form.length() - 2) form form.substring(0, form.length() - 2) form.substring form 0 form.length() - 2 form.length() form.length form 2 return; String s s int steps steps int results results String form form public class Main {
	static StringBuilder sb = new StringBuilder();

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	}

	public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	}
} public class Main {
	static StringBuilder sb = new StringBuilder();

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	}

	public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

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


public class Main {
	static StringBuilder sb = new StringBuilder();

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int start = Character.getNumericValue(s.charAt(0));
		Main main = new Main();
		main.DC_op(s,1,start,s.substring(0, 1));
		sb.append("=7");
		System.out.println(sb.toString());

	}

	public void DC_op(String s,int steps,int results,String form) {
		if (steps == s.length()) {
			if (results == 7) {
				sb.delete(0, sb.length());
				sb.append(form);
			}
		}else {
			int target = Character.getNumericValue(s.charAt(steps));
			//+
			DC_op(s, steps + 1, results + target, form = form + "+" + target);
			form = form.substring(0, form.length() - 2);
			//-
			DC_op(s, steps + 1, results - target, form = form + "-" + target);
			form = form.substring(0, form.length() - 2);
		}

		return;
	}
}
