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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			return;
		}
	} main {
		Scanner sc = new Scanner(System.in);
		char[] s = sc.next().toCharArray();
		sc.close();

		int a = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			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 = s[0] - '0'; a s[0] - '0' s[0] s 0 '0' int b = s[1] - '0'; b s[1] - '0' s[1] s 1 '0' int c = s[2] - '0'; c s[2] - '0' s[2] s 2 '0' int d = s[3] - '0'; d s[3] - '0' s[3] s 3 '0' if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		} a + b + c + d == 7 a + b + c + d c a + b + c + d a b c d 7 {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		} System.out.println(a + "+" + b + "+" + c + "+" + d + "=7") System.out.println System.out System System.out a + "+" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "+" + b + "+" + c + "+" + d + "=7" a "+" b "+" c "+" d "=7" return; if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		} a + b + c - d == 7 a + b + c - d a + b + c a + b + c a b c d 7 {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		} System.out.println(a + "+" + b + "+" + c + "-" + d + "=7") System.out.println System.out System System.out a + "+" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "+" + b + "+" + c + "-" + d + "=7" a "+" b "+" c "-" d "=7" return; if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		} a + b - c + d == 7 a + b - c + d a + b - c a + b a b c d 7 {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		} System.out.println(a + "+" + b + "-" + c + "+" + d + "=7") System.out.println System.out System System.out a + "+" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "+" + b + "-" + c + "+" + d + "=7" a "+" b "-" c "+" d "=7" return; if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		} a + b - c - d == 7 a + b - c - d a + b - c - d a + b a b c d 7 {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		} System.out.println(a + "+" + b + "-" + c + "-" + d + "=7") System.out.println System.out System System.out a + "+" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "+" + b + "-" + c + "-" + d + "=7" a "+" b "-" c "-" d "=7" return; if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		} a - b + c + d == 7 a - b + c + d a - b + c + d a - b a b c d 7 {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		} System.out.println(a + "-" + b + "+" + c + "+" + d + "=7") System.out.println System.out System System.out a + "-" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "-" + b + "+" + c + "+" + d + "=7" a "-" b "+" c "+" d "=7" return; if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		} a - b + c - d == 7 a - b + c - d a - b + c a - b a b c d 7 {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		} System.out.println(a + "-" + b + "+" + c + "-" + d + "=7") System.out.println System.out System System.out a + "-" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "-" + b + "+" + c + "-" + d + "=7" a "-" b "+" c "-" d "=7" return; if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		} a - b - c + d == 7 a - b - c + d a - b - c a - b - c a b c d 7 {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		} System.out.println(a + "-" + b + "-" + c + "+" + d + "=7") System.out.println System.out System System.out a + "-" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "-" + b + "-" + c + "+" + d + "=7" a "-" b "-" c "+" d "=7" return; if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			return;
		} a - b - c - d == 7 a - b - c - d c a - b - c - d a b c d 7 {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			return;
		} System.out.println(a + "-" + b + "-" + c + "-" + d + "=7") System.out.println System.out System System.out a + "-" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "-" + b + "-" + c + "-" + d + "=7" a "-" b "-" c "-" d "=7" 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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			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 = s[0] - '0';
		int b = s[1] - '0';
		int c = s[2] - '0';
		int d = s[3] - '0';

		if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
			return;
		}
		if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
			return;
		}
		if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
			return;
		}
		if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
			return;
		}
		if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
			return;
		}
	}
}
