import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	}

	public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	}

	public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	}
} Main public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	} main {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc int[] num = new int[4]; num new int[4] 4 num[0] = Integer.parseInt(s.substring(0, 1)) num[0] num 0 Integer.parseInt(s.substring(0, 1)) Integer.parseInt Integer s.substring(0, 1) s.substring s 0 1 num[1] = Integer.parseInt(s.substring(1, 2)) num[1] num 1 Integer.parseInt(s.substring(1, 2)) Integer.parseInt Integer s.substring(1, 2) s.substring s 1 2 num[2] = Integer.parseInt(s.substring(2, 3)) num[2] num 2 Integer.parseInt(s.substring(2, 3)) Integer.parseInt Integer s.substring(2, 3) s.substring s 2 3 num[3] = Integer.parseInt(s.substring(3, 4)) num[3] num 3 Integer.parseInt(s.substring(3, 4)) Integer.parseInt Integer s.substring(3, 4) s.substring s 3 4 String ans = calc(num, 0, "+", 0); ans calc(num, 0, "+", 0) calc num 0 "+" 0 if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		} ans.length() < 4 ans.length() ans.length ans 4 {
			System.out.println("");
		} System.out.println("") System.out.println System.out System System.out "" {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		} String a = String.valueOf(num[0]); a String.valueOf(num[0]) String.valueOf String num[0] num 0 for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			} int i = 1; int i = 1; i 1 i <= 3 i 3 i++ i++ i {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			} {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			} a = a + String.valueOf(ans.charAt(i)) a a + String.valueOf(ans.charAt(i)) a String.valueOf(ans.charAt(i)) String.valueOf String ans.charAt(i) ans.charAt ans i a = a + String.valueOf(num[i]) a a + String.valueOf(num[i]) a String.valueOf(num[i]) String.valueOf String num[i] num i a = a + "=7" a a + "=7" a "=7" System.out.println(a) System.out.println System.out System System.out a String args[] args public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	} calc {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	} int n = num[numind]; n num[numind] num numind if (op.equals("-"))
			n *= -1; op.equals("-") op.equals op "-" n *= -1 n -1 1 int newsum = sum + n; newsum sum + n sum n if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		} numind >= 3 numind 3 {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} if (newsum == 7) {
				return op;
			} else {
				return "";
			} newsum == 7 newsum 7 {
				return op;
			} return op; op {
				return "";
			} return ""; "" {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		} String s = calc(num, numind + 1, "+", newsum); s calc(num, numind + 1, "+", newsum) calc num numind + 1 numind 1 "+" newsum if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			} s.length() > 0 s.length() s.length s 0 {
				return op + s;
			} return op + s; op + s op s {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			} s = calc(num, numind + 1, "-", newsum) s calc(num, numind + 1, "-", newsum) calc num numind + 1 numind 1 "-" newsum if (s.length() > 0)
					return op + s; s.length() > 0 s.length() s.length s 0 return op + s; op + s op s return s; s int[] num num int numind numind String op op int sum sum public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	}

	public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	}
} public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	}

	public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		int[] num = new int[4];

		num[0] = Integer.parseInt(s.substring(0, 1));
		num[1] = Integer.parseInt(s.substring(1, 2));
		num[2] = Integer.parseInt(s.substring(2, 3));
		num[3] = Integer.parseInt(s.substring(3, 4));

		String ans = calc(num, 0, "+", 0);
		if (ans.length() < 4) {
			System.out.println("");
		} else {
			String a = String.valueOf(num[0]);
			for (int i = 1; i <= 3; i++) {
				a = a + String.valueOf(ans.charAt(i));
				a = a + String.valueOf(num[i]);
			}
			a = a + "=7";
			System.out.println(a);
		}
	}

	public static String calc(int[] num, int numind, String op, int sum) {
		int n = num[numind];
		if (op.equals("-"))
			n *= -1;

		int newsum = sum + n;
		if (numind >= 3) {
			if (newsum == 7) {
				return op;
			} else {
				return "";
			}
		} else {
			String s = calc(num, numind + 1, "+", newsum);
			if (s.length() > 0) {
				return op + s;
			} else {
				s = calc(num, numind + 1, "-", newsum);
				if (s.length() > 0)
					return op + s;
				return s;
			}
		}
	}
}