import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	}

} 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 n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int n = s.length(); n s.length() s.length s int[] a = new int[n]; a new int[n] n for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = s.charAt(i) - '0';
		} {
			a[i] = s.charAt(i) - '0';
		} a[i] = s.charAt(i) - '0' a[i] a i s.charAt(i) - '0' s.charAt(i) s.charAt s i '0' char[] c = new char[n-1]; c new char[n-1] n-1 n 1 for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		} int bit = 0; int bit = 0; bit 0 bit < (1 << n) bit (1 << n) 1 n bit ++ bit ++ bit {

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		} {

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		} int sum = a[0]; sum a[0] a 0 for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			} int j = 0; int j = 0; j 0 j < n-1 j n-1 n 1 j++ j++ j {

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			} {

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			} if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				} (bit >> j & 1) == 1 (bit >> j & 1) bit >> j bit j 1 1 {
					sum += a[j+1];
					c[j] = '+';

				} sum += a[j+1] sum a[j+1] a j+1 j 1 c[j] = '+' c[j] c j '+' {
					sum -= a[j+1];
					c[j] = '-';
				} sum -= a[j+1] sum a[j+1] a j+1 j 1 c[j] = '-' c[j] c j '-' if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			} sum == 7 sum 7 {
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			} for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				} int k = 0; int k = 0; k 0 k < n k n k++ k++ k {
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				} {
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				} if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					} k == n -1 k n -1 n 1 {
						System.out.print(a[k]);
					} System.out.print(a[k]) System.out.print System.out System System.out a[k] a k {
						System.out.print(a[k]);
						System.out.print(c[k]);
					} System.out.print(a[k]) System.out.print System.out System System.out a[k] a k System.out.print(c[k]) System.out.print System.out System System.out c[k] c k System.out.println("=7") System.out.println System.out System System.out "=7" break; String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		int n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	}

} 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 n = s.length();
		int[] a = new int[n];

		for(int i = 0;i < n; i++) {
			a[i] = s.charAt(i) - '0';
		}

		char[] c = new char[n-1];

		for ( int bit = 0; bit < (1 << n); bit ++){

			int sum = a[0];

			for ( int j = 0; j < n-1; j++){

				if ( (bit >> j & 1) == 1){
					sum += a[j+1];
					c[j] = '+';

				} else {
					sum -= a[j+1];
					c[j] = '-';
				}

			}

			if (sum == 7){
				for ( int k = 0; k < n; k++){
					if ( k == n -1){
						System.out.print(a[k]);
					} else {
						System.out.print(a[k]);
						System.out.print(c[k]);
					}
				}
				System.out.println("=7");
				break;
			}

		}


	}

}
