import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	} main {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String n = sc.next(); n sc.next() sc.next sc int[] a = new int[4]; a new int[4] 4 for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		} int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
			a[i] = Character.getNumericValue(n.charAt(i));
		} {
			a[i] = Character.getNumericValue(n.charAt(i));
		} a[i] = Character.getNumericValue(n.charAt(i)) a[i] a i Character.getNumericValue(n.charAt(i)) Character.getNumericValue Character n.charAt(i) n.charAt n i String t = "=7"; t "=7" if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]+a[1]+a[2]+a[3]==7 a[0]+a[1]+a[2]+a[3] a[2] a[0]+a[1]+a[2]+a[3] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t t a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t a[3] "+" a[2] "+" a[1] a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t a[0] a 0 "+" a[1] a 1 "+" a[2] a 2 "+" a[3] a 3 t if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]+a[1]+a[2]-a[3]==7 a[0]+a[1]+a[2]-a[3] a[0]+a[1]+a[2] a[0]+a[1]+a[2] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t t a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t a[3] "-" a[2] "+" a[1] a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t a[0] a 0 "+" a[1] a 1 "+" a[2] a 2 "-" a[3] a 3 t if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]+a[1]-a[2]+a[3]==7 a[0]+a[1]-a[2]+a[3] a[0]+a[1]-a[2] a[0]+a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t t a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t a[3] "+" a[2] "-" a[1] a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t a[0] a 0 "+" a[1] a 1 "-" a[2] a 2 "+" a[3] a 3 t if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]-a[1]+a[2]+a[3]==7 a[0]-a[1]+a[2]+a[3] a[0]-a[1]+a[2]+a[3] a[0]-a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t t a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t a[3] "+" a[2] "+" a[1] a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t a[0] a 0 "-" a[1] a 1 "+" a[2] a 2 "+" a[3] a 3 t if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]+a[1]-a[2]-a[3]==7 a[0]+a[1]-a[2]-a[3] a[0]+a[1]-a[2]-a[3] a[0]+a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t t a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t a[3] "-" a[2] "-" a[1] a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t a[0] a 0 "+" a[1] a 1 "-" a[2] a 2 "-" a[3] a 3 t if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]-a[1]+a[2]-a[3]==7 a[0]-a[1]+a[2]-a[3] a[0]-a[1]+a[2] a[0]-a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t t a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t a[3] "-" a[2] "+" a[1] a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t a[0] a 0 "-" a[1] a 1 "+" a[2] a 2 "-" a[3] a 3 t if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]-a[1]-a[2]+a[3]==7 a[0]-a[1]-a[2]+a[3] a[0]-a[1]-a[2] a[0]-a[1]-a[2] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t t a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t a[3] "+" a[2] "-" a[1] a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t a[0] a 0 "-" a[1] a 1 "-" a[2] a 2 "+" a[3] a 3 t if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t; a[0]-a[1]-a[2]-a[3]==7 a[0]-a[1]-a[2]-a[3] a[2] a[0]-a[1]-a[2]-a[3] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 7 t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t t a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t a[3] "-" a[2] "-" a[1] a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t a[0] a 0 "-" a[1] a 1 "-" a[2] a 2 "-" a[3] a 3 t System.out.println(t) System.out.println System.out System System.out t String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		int[] a = new int[4];
		for(int i=0; i<4; i++){
			a[i] = Character.getNumericValue(n.charAt(i));
		}
		String t = "=7";
		if(a[0]+a[1]+a[2]+a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]+a[2]-a[3]==7)t = a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]+a[1]-a[2]+a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]+a[2]+a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + t;
		else if(a[0]+a[1]-a[2]-a[3]==7)t = a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]+a[2]-a[3]==7)t = a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + t;
		else if(a[0]-a[1]-a[2]+a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + t;
		else if(a[0]-a[1]-a[2]-a[3]==7)t = a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + t;
		System.out.println(t);
	}
}