import java.util.Scanner;

public class Main {

	public static void main(String[] args) {


		Scanner sc = new Scanner(System.in);
		String[] input = sc.next().split("");
		int a = Integer.valueOf(input[0]);
		int b = Integer.valueOf(input[1]);
		int c = Integer.valueOf(input[2]);
		int d = Integer.valueOf(input[3]);
		int answer = 0;
		for(int i = 0; i < 2; i++) {
			if(i == 0) {
				answer = a + b;
			}else {
				answer = a - b;
			}
			int tmpanswer1 = answer;
			for(int j = 0; j < 2; j++) {
				answer = tmpanswer1;
				if(j == 0) {
					answer += c;
				}else {
					answer -= c;
				}
				int tmpAnswer2 = answer;
				for(int k = 0; k < 2; k++) {
					answer = tmpAnswer2;
					if(k == 0) {
						answer += d;
					}else {
						answer -= d;
					}
					if(answer == 7) {
						System.out.println(a + convert(i) + b + convert(j) + c + convert(k) + d + "=7");
						return;
					}
				}
			}
		}
	}

	private static String convert(int i) {
		if(i == 0) {
			return "+";
		}else {
			return "-";
		}
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz