import java.util.Scanner;

public class Main {
	static int[]bit;
	static int A, B, C, D;
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	}
	static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	}
	static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	static int[]bit;
	static int A, B, C, D;
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	}
	static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	}
	static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	}
} Main static int[]bit; bit static int A A B B C C D; D public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc sc.close() sc.close sc A = s.charAt(0) - '0' A s.charAt(0) - '0' s.charAt(0) s.charAt s 0 '0' B = s.charAt(1) - '0' B s.charAt(1) - '0' s.charAt(1) s.charAt s 1 '0' C = s.charAt(2) - '0' C s.charAt(2) - '0' s.charAt(2) s.charAt s 2 '0' D = s.charAt(3) - '0' D s.charAt(3) - '0' s.charAt(3) s.charAt s 3 '0' bit = new int[3] bit new int[3] 3 rec(0) rec 0 String[] args args static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	} rec {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	} if(k == bit.length) {
			solve();
			return;
		} k == bit.length k bit.length bit bit.length {
			solve();
			return;
		} solve() solve return; rec(k + 1) rec k + 1 k 1 bit[k] = 1 bit[k] bit k 1 rec(k + 1) rec k + 1 k 1 bit[k] = 0 bit[k] bit k 0 int k k static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	} solve {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	} int t = 0; t 0 if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		} bit[0] == 0 bit[0] bit 0 0 {
			t += A + B;
		} t += A + B t A + B A B {
			t += A - B;
		} t += A - B t A - B A B if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		} bit[1] == 0 bit[1] bit 1 0 {
			t += C;
		} t += C t C {
			t -= C;
		} t -= C t C if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		} bit[2] == 0 bit[2] bit 2 0 {
			t += D;
		} t += D t D {
			t -= D;
		} t -= D t D if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		} t == 7 t 7 {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		} String[]op = {"+", "-"}; op {"+", "-"} "+" "-" System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7") System.out.println System.out System System.out A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7" D op[bit[2]] C op[bit[1]] B A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7" A op[bit[0]] op bit[0] bit 0 B op[bit[1]] op bit[1] bit 1 C op[bit[2]] op bit[2] bit 2 D "=7" System.exit(0) System.exit System 0 public class Main {
	static int[]bit;
	static int A, B, C, D;
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	}
	static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	}
	static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	}
} public class Main {
	static int[]bit;
	static int A, B, C, D;
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	}
	static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	}
	static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	}
} Main
import java.util.Scanner;

public class Main {
	static int[]bit;
	static int A, B, C, D;
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();
		A = s.charAt(0) - '0';
		B = s.charAt(1) - '0';
		C = s.charAt(2) - '0';
		D = s.charAt(3) - '0';
		bit = new int[3];
		rec(0);
	}
	static void rec(int k) {
		if(k == bit.length) {
			solve();
			return;
		}
		rec(k + 1);
		bit[k] = 1;
		rec(k + 1);
		bit[k] = 0;
	}
	static void solve() {
		int t = 0;
		if(bit[0] == 0) {
			t += A + B;
		}else {
			t += A - B;
		}
		if(bit[1] == 0) {
			t += C;
		}else {
			t -= C;
		}
		if(bit[2] == 0) {
			t += D;
		}else {
			t -= D;
		}
		if(t == 7) {
			String[]op = {"+", "-"};
			System.out.println(A + op[bit[0]] + B + op[bit[1]] + C + op[bit[2]] + D +"=7");
			System.exit(0);
		}
	}
}