import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt(),a,b,c,d;
		sc.close();
		a=n/1000%10;
		b=n/100%10;
		c=n/10%10;
		d=n%10;
		if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7");
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt(),a,b,c,d;
		sc.close();
		a=n/1000%10;
		b=n/100%10;
		c=n/10%10;
		d=n%10;
		if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7");
	}
} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt(),a,b,c,d;
		sc.close();
		a=n/1000%10;
		b=n/100%10;
		c=n/10%10;
		d=n%10;
		if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7");
	} main {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt(),a,b,c,d;
		sc.close();
		a=n/1000%10;
		b=n/100%10;
		c=n/10%10;
		d=n%10;
		if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7");
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt() n sc.nextInt() sc.nextInt sc a a b b c c d; d sc.close() sc.close sc a=n/1000%10 a n/1000%10 n/1000 n 1000 10 b=n/100%10 b n/100%10 n/100 n 100 10 c=n/10%10 c n/10%10 n/10 n 10 10 d=n%10 d n%10 n 10 if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a+b+c+d==7 a+b+c+d c a+b+c+d a b c d 7 System.out.print(a+"+"+b+"+"+c+"+"+d+"=7") System.out.print System.out System System.out a+"+"+b+"+"+c+"+"+d+"=7" d "+" c "+" b a+"+"+b+"+"+c+"+"+d+"=7" a "+" b "+" c "+" d "=7" if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a-b+c+d==7 a-b+c+d a-b+c+d a-b a b c d 7 System.out.print(a+"-"+b+"+"+c+"+"+d+"=7") System.out.print System.out System System.out a+"-"+b+"+"+c+"+"+d+"=7" d "+" c "+" b a+"-"+b+"+"+c+"+"+d+"=7" a "-" b "+" c "+" d "=7" if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a+b-c+d==7 a+b-c+d a+b-c a+b a b c d 7 System.out.print(a+"+"+b+"-"+c+"+"+d+"=7") System.out.print System.out System System.out a+"+"+b+"-"+c+"+"+d+"=7" d "+" c "-" b a+"+"+b+"-"+c+"+"+d+"=7" a "+" b "-" c "+" d "=7" if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a+b+c-d==7 a+b+c-d a+b+c a+b+c a b c d 7 System.out.print(a+"+"+b+"+"+c+"-"+d+"=7") System.out.print System.out System System.out a+"+"+b+"+"+c+"-"+d+"=7" d "-" c "+" b a+"+"+b+"+"+c+"-"+d+"=7" a "+" b "+" c "-" d "=7" if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a-b-c+d==7 a-b-c+d a-b-c a-b-c a b c d 7 System.out.print(a+"-"+b+"-"+c+"+"+d+"=7") System.out.print System.out System System.out a+"-"+b+"-"+c+"+"+d+"=7" d "+" c "-" b a+"-"+b+"-"+c+"+"+d+"=7" a "-" b "-" c "+" d "=7" if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a-b+c-d==7 a-b+c-d a-b+c a-b a b c d 7 System.out.print(a+"-"+b+"+"+c+"-"+d+"=7") System.out.print System.out System System.out a+"-"+b+"+"+c+"-"+d+"=7" d "-" c "+" b a+"-"+b+"+"+c+"-"+d+"=7" a "-" b "+" c "-" d "=7" if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7"); a+b-c-d==7 a+b-c-d a+b-c-d a+b a b c d 7 System.out.print(a+"+"+b+"-"+c+"-"+d+"=7") System.out.print System.out System System.out a+"+"+b+"-"+c+"-"+d+"=7" d "-" c "-" b a+"+"+b+"-"+c+"-"+d+"=7" a "+" b "-" c "-" d "=7" System.out.print(a+"-"+b+"-"+c+"-"+d+"=7") System.out.print System.out System System.out a+"-"+b+"-"+c+"-"+d+"=7" d "-" c "-" b a+"-"+b+"-"+c+"-"+d+"=7" a "-" b "-" c "-" d "=7" String[] args args
import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt(),a,b,c,d;
		sc.close();
		a=n/1000%10;
		b=n/100%10;
		c=n/10%10;
		d=n%10;
		if(a+b+c+d==7) System.out.print(a+"+"+b+"+"+c+"+"+d+"=7");
		else if(a-b+c+d==7) System.out.print(a+"-"+b+"+"+c+"+"+d+"=7");
		else if(a+b-c+d==7) System.out.print(a+"+"+b+"-"+c+"+"+d+"=7");
		else if(a+b+c-d==7) System.out.print(a+"+"+b+"+"+c+"-"+d+"=7");
		else if(a-b-c+d==7) System.out.print(a+"-"+b+"-"+c+"+"+d+"=7");
		else if(a-b+c-d==7) System.out.print(a+"-"+b+"+"+c+"-"+d+"=7");
		else if(a+b-c-d==7) System.out.print(a+"+"+b+"-"+c+"-"+d+"=7");
		else System.out.print(a+"-"+b+"-"+c+"-"+d+"=7");
	}
}