import java.util.*;
public class Main {
	public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	}
}
//end import java.util.*; util.* java public class Main {
	public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	}
} Main public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	} main {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	} Scanner scan =new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan int ans = Integer.parseInt(String.valueOf(s.charAt(0))); ans Integer.parseInt(String.valueOf(s.charAt(0))) Integer.parseInt Integer String.valueOf(s.charAt(0)) String.valueOf String s.charAt(0) s.charAt s 0 for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		} int i = 0; int i = 0; i 0 i <8 i 8 ++i ++i i {
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		} {
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		} ans=Integer.parseInt(String.valueOf(s.charAt(0))) ans Integer.parseInt(String.valueOf(s.charAt(0))) Integer.parseInt Integer String.valueOf(s.charAt(0)) String.valueOf String s.charAt(0) s.charAt s 0 for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			} int j =0; int j =0; j 0 j < 3 j 3 ++j ++j j {//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			} {//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			} if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				} (1&i>>j)==1 (1&i>>j) 1 i>>j i j 1 {
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				} ans+=Integer.parseInt(String.valueOf(s.charAt(j+1))) ans Integer.parseInt(String.valueOf(s.charAt(j+1))) Integer.parseInt Integer String.valueOf(s.charAt(j+1)) String.valueOf String s.charAt(j+1) s.charAt s j+1 j 1 {
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				} ans-=Integer.parseInt(String.valueOf(s.charAt(j+1))) ans Integer.parseInt(String.valueOf(s.charAt(j+1))) Integer.parseInt Integer String.valueOf(s.charAt(j+1)) String.valueOf String s.charAt(j+1) s.charAt s j+1 j 1 if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			} ans==7 ans 7 {
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			} System.out.print(s.charAt(0)) System.out.print System.out System System.out s.charAt(0) s.charAt s 0 for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				} int j =0; int j =0; j 0 j < 3 j 3 ++j ++j j {
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				} {
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				} if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					} (1&i>>j)==1 (1&i>>j) 1 i>>j i j 1 {
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					} System.out.print("+"+String.valueOf(s.charAt(j+1))) System.out.print System.out System System.out "+"+String.valueOf(s.charAt(j+1)) "+" String.valueOf(s.charAt(j+1)) String.valueOf String s.charAt(j+1) s.charAt s j+1 j 1 {
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					} System.out.print("-"+String.valueOf(s.charAt(j+1))) System.out.print System.out System System.out "-"+String.valueOf(s.charAt(j+1)) "-" String.valueOf(s.charAt(j+1)) String.valueOf String s.charAt(j+1) s.charAt s j+1 j 1 System.out.print("=7") System.out.print System.out System System.out "=7" break; String[] args args public class Main {
	public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	}
} public class Main {
	public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args)  {
		Scanner scan =new Scanner(System.in);
		String s = scan.next();
		int ans = Integer.parseInt(String.valueOf(s.charAt(0)));
		for (int i = 0; i <8; ++i){
			ans=Integer.parseInt(String.valueOf(s.charAt(0)));
			for (int j =0;j < 3; ++j){//ビット全探索
				if ((1&i>>j)==1){
					ans+=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}else{
					ans-=Integer.parseInt(String.valueOf(s.charAt(j+1)));
				}
			}
			if (ans==7){
				System.out.print(s.charAt(0));
				for (int j =0;j < 3; ++j){
					if ((1&i>>j)==1){
						System.out.print("+"+String.valueOf(s.charAt(j+1)));
					}else{
						System.out.print("-"+String.valueOf(s.charAt(j+1)));
					}
				}
				System.out.print("=7");
				break;
			}
		}


	}
}
//end
