import java.util.Scanner;

class Main {
	static void f(int A, int B, int C, int D) {
		for(int i = 0; i < 2; i++) {
			for(int j = 0; j < 2; j++) {
				for(int k = 0; k < 2; k++) {
					int ans = A;
					ans += (i == 0) ? B : (-B);
					ans += (j == 0) ? C : (-C);
					ans += (k == 0) ? D : (-D);
					if(ans == 7) {
						char op1 = (i == 0) ? '+' : '-';
						char op2 = (j == 0) ? '+' : '-';
						char op3 = (k == 0) ? '+' : '-';
						System.out.println(A+""+op1+""+B+""+op2+""+C+""+op3+""+D+"=7");
						return;
					}
				}
			}
		}
	}
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
		int A = s/1000; s -= A*1000;
		int B = s/100; s -= B*100;
		int C = s/10, D = s%10;
		f(A,B,C,D);
	}
}
/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