import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	}

} 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.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int a = Character.getNumericValue(s.charAt(0)); a Character.getNumericValue(s.charAt(0)) Character.getNumericValue Character s.charAt(0) s.charAt s 0 int b = Character.getNumericValue(s.charAt(1)); b Character.getNumericValue(s.charAt(1)) Character.getNumericValue Character s.charAt(1) s.charAt s 1 int c = Character.getNumericValue(s.charAt(2)); c Character.getNumericValue(s.charAt(2)) Character.getNumericValue Character s.charAt(2) s.charAt s 2 int d = Character.getNumericValue(s.charAt(3)); d Character.getNumericValue(s.charAt(3)) Character.getNumericValue Character s.charAt(3) s.charAt s 3 if (a + b + c + d == 7) {
			System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
		} else if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
		} else if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
		} else if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
		} else if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a - b + c + d == 7) {
			System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
		} else if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
		} else if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
		} else if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a + b - c + d == 7) {
			System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
		} else if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
		} else if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a + b + c - d == 7) {
			System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
		} else if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a - b - c + d == 7) {
			System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
		} else if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a + b - c - d == 7) {
			System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
		} else if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a - b + c - d == 7) {
			System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
		} else if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" if (a - b - c - d == 7) {
			System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
		} 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");
		} 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" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int a = Character.getNumericValue(s.charAt(0));
		int b = Character.getNumericValue(s.charAt(1));
		int c = Character.getNumericValue(s.charAt(2));
		int d = Character.getNumericValue(s.charAt(3));

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

		sc.close();

	}

}