import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int num[] = new int[4]; num new int[4] 4 String flg[] = new String[3]; flg new String[3] 3 for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		} int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
			num[3 - i] = n % 10;
			n /= 10;
		} {
			num[3 - i] = n % 10;
			n /= 10;
		} num[3 - i] = n % 10 num[3 - i] num 3 - i 3 i n % 10 n 10 n /= 10 n 10 int sum = num[0]; sum num[0] num 0 for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		} int bit = 0; int bit = 0; bit 0 bit < (1 << 3) bit (1 << 3) 1 3 bit++ bit++ bit {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		} {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		} for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			} {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			} if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				} (bit & (1 << i)) != 0 (bit & (1 << i)) bit (1 << i) 1 i 0 {
					sum += num[i + 1];
					flg[i] = "+";
				} sum += num[i + 1] sum num[i + 1] num i + 1 i 1 flg[i] = "+" flg[i] flg i "+" {
					sum -= num[i + 1];
					flg[i] = "-";
				} sum -= num[i + 1] sum num[i + 1] num i + 1 i 1 flg[i] = "-" flg[i] flg i "-" if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			} sum == 7 sum 7 {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			} System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7") System.out.println System.out System System.out num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7" num[3] flg[2] num[2] flg[1] num[1] num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7" num[0] num 0 flg[0] flg 0 num[1] num 1 flg[1] flg 1 num[2] num 2 flg[2] flg 2 num[3] num 3 "=7" break; {
				sum=num[0];
			} sum=num[0] sum num[0] num 0 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int num[] = new int[4];
		String flg[] = new String[3];
		for (int i = 0; i < 4; i++) {
			num[3 - i] = n % 10;
			n /= 10;
		}
//		for(int i=0;i<4;i++) {
//			System.out.println(num[i]);
//		}
		int sum = num[0];
		for (int bit = 0; bit < (1 << 3); bit++) {
			for (int i = 0; i < 3; i++) {
				if ((bit & (1 << i)) != 0) {
					sum += num[i + 1];
					flg[i] = "+";
				} else {
					sum -= num[i + 1];
					flg[i] = "-";
				}
			//	System.out.println(flg[i]+" "+sum);
			}
			if (sum == 7) {
				System.out.println(num[0] + flg[0] + num[1] + flg[1] + num[2] + flg[2] + num[3] + "=7");
				break;
			}else {
				sum=num[0];
			}
		}
	}

}
