import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	}

	private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	}

	private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	}

	private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	}

	private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	}
} Main public static void main(String[] args) {
		new Main().execute();
	} main {
		new Main().execute();
	} new Main().execute() new Main().execute new Main() String[] args args public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	} execute {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String abcd = sc.nextLine(); abcd sc.nextLine() sc.nextLine sc int a = Integer.parseInt(abcd.substring(0, 1)); a Integer.parseInt(abcd.substring(0, 1)) Integer.parseInt Integer abcd.substring(0, 1) abcd.substring abcd 0 1 int b = Integer.parseInt(abcd.substring(1, 2)); b Integer.parseInt(abcd.substring(1, 2)) Integer.parseInt Integer abcd.substring(1, 2) abcd.substring abcd 1 2 int c = Integer.parseInt(abcd.substring(2, 3)); c Integer.parseInt(abcd.substring(2, 3)) Integer.parseInt Integer abcd.substring(2, 3) abcd.substring abcd 2 3 int d = Integer.parseInt(abcd.substring(3, 4)); d Integer.parseInt(abcd.substring(3, 4)) Integer.parseInt Integer abcd.substring(3, 4) abcd.substring abcd 3 4 for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		} int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		} {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		} int op1 = (i & 4) > 0 ? 1 : -1; op1 (i & 4) > 0 ? 1 : -1 (i & 4) > 0 (i & 4) i 4 0 1 -1 1 int op2 = (i & 2) > 0 ? 1 : -1; op2 (i & 2) > 0 ? 1 : -1 (i & 2) > 0 (i & 2) i 2 0 1 -1 1 int op3 = (i & 1) > 0 ? 1 : -1; op3 (i & 1) > 0 ? 1 : -1 (i & 1) > 0 (i & 1) i 1 0 1 -1 1 if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			} (a + (b * op1) + (c * op2) + (d * op3)) == 7 (a + (b * op1) + (c * op2) + (d * op3)) (c * op2) a + (b * op1) + (c * op2) + (d * op3) a (b * op1) b op1 (c * op2) c op2 (d * op3) d op3 7 {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			} System.out.println(answerString(a, b, c, d, op1, op2, op3)) System.out.println System.out System System.out answerString(a, b, c, d, op1, op2, op3) answerString a b c d op1 op2 op3 break; sc.close() sc.close sc private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	} answerString {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	} StringBuilder str = new StringBuilder(); str new StringBuilder() str.append(a) str.append str a str.append(toCharOps(op1)) str.append str toCharOps(op1) toCharOps op1 str.append(b) str.append str b str.append(toCharOps(op2)) str.append str toCharOps(op2) toCharOps op2 str.append(c) str.append str c str.append(toCharOps(op3)) str.append str toCharOps(op3) toCharOps op3 str.append(d) str.append str d str.append("=7") str.append str "=7" return str.toString(); str.toString() str.toString str int a a int b b int c c int d d int op1 op1 int op2 op2 int op3 op3 private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	} toCharOps {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	} if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		} op == 1 op 1 {
			return '+';
		} return '+'; '+' if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		} op == -1 op -1 1 {
			return '-';
		} return '-'; '-' {
			throw new IllegalArgumentException();
		} throw new IllegalArgumentException(); new IllegalArgumentException() int op op public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	}

	private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	}

	private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	}
} public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	}

	private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	}

	private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	public void execute() {
		Scanner sc = new Scanner(System.in);
		String abcd = sc.nextLine();

		int a = Integer.parseInt(abcd.substring(0, 1));
		int b = Integer.parseInt(abcd.substring(1, 2));
		int c = Integer.parseInt(abcd.substring(2, 3));
		int d = Integer.parseInt(abcd.substring(3, 4));

		for (int i = 0; i < 8; i++) {
			int op1 = (i & 4) > 0 ? 1 : -1;
			int op2 = (i & 2) > 0 ? 1 : -1;
			int op3 = (i & 1) > 0 ? 1 : -1;
			if ((a + (b * op1) + (c * op2) + (d * op3)) == 7) {
				System.out.println(answerString(a, b, c, d, op1, op2, op3));
				break;
			}
		}
		sc.close();
	}

	private String answerString(int a, int b, int c, int d, int op1, int op2, int op3) {
		StringBuilder str = new StringBuilder();
		str.append(a);
		str.append(toCharOps(op1));
		str.append(b);
		str.append(toCharOps(op2));
		str.append(c);
		str.append(toCharOps(op3));
		str.append(d);
		str.append("=7");
		return str.toString();
	}

	private char toCharOps(int op) {
		if (op == 1) {
			return '+';
		} else if (op == -1) {
			return '-';
		} else {
			throw new IllegalArgumentException();
		}
	}
}