import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc String[] list = s.split(""); list s.split("") s.split s "" int[] constList = new int[3]; constList new int[3] 3 int a = Integer.parseInt(list[0]); a Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
          constList[i] = Integer.parseInt(list[i + 1]);
        } {
          constList[i] = Integer.parseInt(list[i + 1]);
        } constList[i] = Integer.parseInt(list[i + 1]) constList[i] constList i Integer.parseInt(list[i + 1]) Integer.parseInt Integer list[i + 1] list i + 1 i 1 String ans = list[0]; ans list[0] list 0 for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        } int i = 0; int i = 0; i 0 i < 8 i 8 i++ i++ i {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        } {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        } String bin = ""; bin "" if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          } i < 2 i 2 {
            bin += "00";
          } bin += "00" bin "00" if (i < 4) {
            bin += "0";
          } i < 4 i 4 {
            bin += "0";
          } bin += "0" bin "0" bin += Integer.toBinaryString(i) bin Integer.toBinaryString(i) Integer.toBinaryString Integer i String[] oprList = bin.split(""); oprList bin.split("") bin.split bin "" int sum = a; sum a for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          } int index = 0; int index = 0; index 0 index < 3 index 3 index++ index++ index {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          } {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          } if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            } oprList[index].equals("0") oprList[index].equals oprList[index] oprList index "0" {
              sum += constList[index];
            } sum += constList[index] sum constList[index] constList index {
              sum -= constList[index];
            } sum -= constList[index] sum constList[index] constList index if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          } sum == 7 sum 7 {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          } for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            } int index = 0; int index = 0; index 0 index < 3 index 3 index++ index++ index {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            } {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            } if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              } oprList[index].equals("0") oprList[index].equals oprList[index] oprList index "0" {
                ans += "+" + list[index + 1];
              } ans += "+" + list[index + 1] ans "+" + list[index + 1] "+" list[index + 1] list index + 1 index 1 {
                ans += "-" + list[index + 1];
              } ans += "-" + list[index + 1] ans "-" + list[index + 1] "-" list[index + 1] list index + 1 index 1 ans += "=7" ans "=7" break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 文字列の入力
		String s = sc.next();
        String[] list = s.split("");
        int[] constList = new int[3];
        int a = Integer.parseInt(list[0]);
        for (int i = 0; i < 3; i++) {
          constList[i] = Integer.parseInt(list[i + 1]);
        }
        
        String ans = list[0];
        
        for (int i = 0; i < 8; i++) {
          String bin = "";
          if (i < 2) {
            bin += "00";
          } else if (i < 4) {
            bin += "0";
          }
          bin += Integer.toBinaryString(i);
          String[] oprList = bin.split("");
          int sum = a;
          
          for (int index = 0; index < 3; index++) {
            if (oprList[index].equals("0")) {
              sum += constList[index];
            } else {
              sum -= constList[index];
            }
          }
          
          if (sum == 7) {
            for (int index = 0; index < 3; index++) {
              if (oprList[index].equals("0")) {
                ans += "+" + list[index + 1];
              } else {
                ans += "-" + list[index + 1];
              }
            }
            ans += "=7";
            break;
          }
        }
    
		// 出力
		System.out.println(ans);
	}
}