import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] s = sc.next().toCharArray(); s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc sc.close() sc.close sc int[] a = new int[4]; a new int[4] 4 for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		} int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
			a[i] = s[i] - '0';
		} {
			a[i] = s[i] - '0';
		} a[i] = s[i] - '0' a[i] a i s[i] - '0' s[i] s i '0' int end = 1 << 3; end 1 << 3 1 3 for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		} int i = 0; int i = 0; i 0 i < end i end i++ i++ i {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		} {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		} int val = a[0]; val a[0] a 0 StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(s[0]) sb.append sb s[0] s 0 for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			} int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			} {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			} if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				} (i >> j & 1) == 1 (i >> j & 1) i >> j i j 1 1 {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} val += a[j + 1] val a[j + 1] a j + 1 j 1 sb.append('+').append(s[j + 1]) sb.append('+').append sb.append('+') sb.append sb '+' s[j + 1] s j + 1 j 1 {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				} val -= a[j + 1] val a[j + 1] a j + 1 j 1 sb.append('-').append(s[j + 1]) sb.append('-').append sb.append('-') sb.append sb '-' s[j + 1] s j + 1 j 1 if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			} val == 7 val 7 {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			} 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 return; String[] args args public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int[] a = new int[4];
		for (int i = 0; i < 4; i++) {
			a[i] = s[i] - '0';
		}

		int end = 1 << 3;
		for (int i = 0; i < end; i++) {
			int val = a[0];
			StringBuilder sb = new StringBuilder();
			sb.append(s[0]);
			for (int j = 0; j < 3; j++) {
				if ((i >> j & 1) == 1) {
					val += a[j + 1];
					sb.append('+').append(s[j + 1]);
				} else {
					val -= a[j + 1];
					sb.append('-').append(s[j + 1]);
				}
			}
			if (val == 7) {
				sb.append("=7");
				System.out.println(sb.toString());
				return;
			}
		}
	}
}
