import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    }
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    } main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc String b[] = a.split(""); b a.split("") a.split a "" int c[] = new int[4]; c new int[4] 4 for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
          c[i] =Integer.parseInt(b[i]);
        } {
          c[i] =Integer.parseInt(b[i]);
        } c[i] =Integer.parseInt(b[i]) c[i] c i Integer.parseInt(b[i]) Integer.parseInt Integer b[i] b i if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] + c[1] + c[2] + c[3] == 7 c[0] + c[1] + c[2] + c[3] c[2] c[0] + c[1] + c[2] + c[3] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        } System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7") System.out.println System.out System System.out c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7" c[3] "+" c[2] "+" c[1] c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7" c[0] c 0 "+" c[1] c 1 "+" c[2] c 2 "+" c[3] c 3 "=7" if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] + c[1] + c[2] - c[3] == 7 c[0] + c[1] + c[2] - c[3] c[0] + c[1] + c[2] c[0] + c[1] + c[2] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        } System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7") System.out.println System.out System System.out c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7" c[3] "-" c[2] "+" c[1] c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7" c[0] c 0 "+" c[1] c 1 "+" c[2] c 2 "-" c[3] c 3 "=7" if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] + c[1] - c[2] + c[3] == 7 c[0] + c[1] - c[2] + c[3] c[0] + c[1] - c[2] c[0] + c[1] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        } System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7") System.out.println System.out System System.out c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7" c[3] "+" c[2] "-" c[1] c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7" c[0] c 0 "+" c[1] c 1 "-" c[2] c 2 "+" c[3] c 3 "=7" if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] + c[1] - c[2] - c[3] == 7 c[0] + c[1] - c[2] - c[3] c[0] + c[1] - c[2] - c[3] c[0] + c[1] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7") System.out.println System.out System System.out c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7" c[3] "-" c[2] "-" c[1] c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7" c[0] c 0 "+" c[1] c 1 "-" c[2] c 2 "-" c[3] c 3 "=7" if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] - c[1] + c[2] + c[3] == 7 c[0] - c[1] + c[2] + c[3] c[0] - c[1] + c[2] + c[3] c[0] - c[1] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        } System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7") System.out.println System.out System System.out c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7" c[3] "+" c[2] "+" c[1] c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7" c[0] c 0 "-" c[1] c 1 "+" c[2] c 2 "+" c[3] c 3 "=7" if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] - c[1] + c[2] - c[3] == 7 c[0] - c[1] + c[2] - c[3] c[0] - c[1] + c[2] c[0] - c[1] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        } System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7") System.out.println System.out System System.out c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7" c[3] "-" c[2] "+" c[1] c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7" c[0] c 0 "-" c[1] c 1 "+" c[2] c 2 "-" c[3] c 3 "=7" if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] - c[1] - c[2] + c[3] == 7 c[0] - c[1] - c[2] + c[3] c[0] - c[1] - c[2] c[0] - c[1] - c[2] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        } System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7") System.out.println System.out System System.out c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7" c[3] "+" c[2] "-" c[1] c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7" c[0] c 0 "-" c[1] c 1 "-" c[2] c 2 "+" c[3] c 3 "=7" if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } c[0] - c[1] - c[2] - c[3] == 7 c[0] - c[1] - c[2] - c[3] c[2] c[0] - c[1] - c[2] - c[3] c[0] c 0 c[1] c 1 c[2] c 2 c[3] c 3 7 {
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        } System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7") System.out.println System.out System System.out c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7" c[3] "-" c[2] "-" c[1] c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7" c[0] c 0 "-" c[1] c 1 "-" c[2] c 2 "-" c[3] c 3 "=7" String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    }
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    }
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		String a = sc.next();
        String b[] = a.split("");
        int c[] = new int[4];
        for(int i = 0;i < 4; i++){
          c[i] =Integer.parseInt(b[i]);
        }
        if(c[0] + c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] + c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "+" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] + c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "+" + c[2] + "-" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] + c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "+" + c[3] + "=7");
        }else if(c[0] - c[1] - c[2] - c[3] == 7){
          System.out.println(c[0] + "-" + c[1] + "-" + c[2] + "-" + c[3] + "=7");
        }
    }
}