import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Collections;

public class Main {
	public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util public class Main {
	public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); }
} Main public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); } main {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int a = Integer.parseInt(s.substring(0,1)); a Integer.parseInt(s.substring(0,1)) Integer.parseInt Integer s.substring(0,1) s.substring s 0 1 int b = Integer.parseInt(s.substring(1,2)); b Integer.parseInt(s.substring(1,2)) Integer.parseInt Integer s.substring(1,2) s.substring s 1 2 int c = Integer.parseInt(s.substring(2,3)); c Integer.parseInt(s.substring(2,3)) Integer.parseInt Integer s.substring(2,3) s.substring s 2 3 int d = Integer.parseInt(s.substring(3,4)); d Integer.parseInt(s.substring(3,4)) Integer.parseInt Integer s.substring(3,4) s.substring s 3 4 if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"+"+b+"+"+c+"+"+d+"=7");
			} System.out.println(a +"+"+b+"+"+c+"+"+d+"=7") System.out.println 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.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"+"+b+"+"+c+"-"+d+"=7");
			} System.out.println(a +"+"+b+"+"+c+"-"+d+"=7") System.out.println 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.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"+"+b+"-"+c+"+"+d+"=7");
			} System.out.println(a +"+"+b+"-"+c+"+"+d+"=7") System.out.println 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.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"+"+b+"-"+c+"-"+d+"=7");
			} System.out.println(a +"+"+b+"-"+c+"-"+d+"=7") System.out.println 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.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"-"+b+"+"+c+"+"+d+"=7");
			} System.out.println(a +"-"+b+"+"+c+"+"+d+"=7") System.out.println 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.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"-"+b+"+"+c+"-"+d+"=7");
			} System.out.println(a +"-"+b+"+"+c+"-"+d+"=7") System.out.println 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.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(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.println(a +"-"+b+"-"+c+"+"+d+"=7");
			} System.out.println(a +"-"+b+"-"+c+"+"+d+"=7") System.out.println 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.println(a +"-"+b+"-"+c+"-"+d+"=7");
			} System.out.println(a +"-"+b+"-"+c+"-"+d+"=7") System.out.println System.out System System.out a +"-"+b+"-"+c+"-"+d+"=7" d "-" c "-" b a +"-"+b+"-"+c+"-"+d+"=7" a "-" b "-" c "-" d "=7" sc.close() sc.close sc String args[] args public class Main {
	public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); }
} public class Main {
	public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); }
} Main
import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Collections;

public class Main {
	public static void main(String args[]) throws InterruptedException {
		    Scanner sc = new Scanner(System.in);	
			
			String s = sc.next();
			int a = Integer.parseInt(s.substring(0,1));
			int b = Integer.parseInt(s.substring(1,2));
			int c = Integer.parseInt(s.substring(2,3));
			int d = Integer.parseInt(s.substring(3,4));

			if (a+b+c+d == 7) {
				System.out.println(a +"+"+b+"+"+c+"+"+d+"=7");
			}else if(a+b+c-d == 7){
				System.out.println(a +"+"+b+"+"+c+"-"+d+"=7");
			}else if (a+b-c+d == 7) {
				System.out.println(a +"+"+b+"-"+c+"+"+d+"=7");
			}else if (a+b-c-d == 7) {
				System.out.println(a +"+"+b+"-"+c+"-"+d+"=7");
			}else if (a-b+c+d == 7) {
				System.out.println(a +"-"+b+"+"+c+"+"+d+"=7");
			}else if (a-b+c-d == 7){
				System.out.println(a +"-"+b+"+"+c+"-"+d+"=7");
			}else if (a-b-c+d == 7) {
				System.out.println(a +"-"+b+"-"+c+"+"+d+"=7");
			}else{
				System.out.println(a +"-"+b+"-"+c+"-"+d+"=7");
			}

		    sc.close(); }
}
