import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		String s = sc.next();
		int n = s.length() - 1;
		char[] a = new char[s.length()];
        int[] A = new int[s.length()];
        for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        }
		
		for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		}
      
	}
} import java.util.*; util.* java class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		String s = sc.next();
		int n = s.length() - 1;
		char[] a = new char[s.length()];
        int[] A = new int[s.length()];
        for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        }
		
		for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		}
      
	}
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
		
		String s = sc.next();
		int n = s.length() - 1;
		char[] a = new char[s.length()];
        int[] A = new int[s.length()];
        for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        }
		
		for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		}
      
	} main {
		
		String s = sc.next();
		int n = s.length() - 1;
		char[] a = new char[s.length()];
        int[] A = new int[s.length()];
        for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        }
		
		for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		}
      
	} String s = sc.next(); s sc.next() sc.next sc int n = s.length() - 1; n s.length() - 1 s.length() s.length s 1 char[] a = new char[s.length()]; a new char[s.length()] s.length() s.length s int[] A = new int[s.length()]; A new int[s.length()] s.length() s.length s for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        } int i = 0; int i = 0; i 0 i < s.length() i s.length() s.length s i++ i++ i {
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        } {
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        } a[i] = s.charAt(i) a[i] a i s.charAt(i) s.charAt s i A[i] = Character.getNumericValue(a[i]) A[i] A i Character.getNumericValue(a[i]) Character.getNumericValue Character a[i] a i for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		} int i = 0; int i = 0; i 0 i < Math.pow(2,n) i Math.pow(2,n) Math.pow Math 2 n i++ i++ i {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		} {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		} int sum = A[0]; sum A[0] A 0 String S = ""; S "" S += a[0] S a[0] a 0 for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          } int j = 0; int j = 0; j 0 j < n j n j++ j++ j {
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          } {
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          } if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            } (i & (1 << j)) == 0 (i & (1 << j)) i (1 << j) 1 j 0 {
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            } sum += A[j+1] sum A[j+1] A j+1 j 1 S += '+' S '+' S += a[j+1] S a[j+1] a j+1 j 1 {
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            } sum -= A[j+1] sum A[j+1] A j+1 j 1 S += '-' S '-' S += a[j+1] S a[j+1] a j+1 j 1 if(sum == 7){
            System.out.println(S + "=7");
            break;
          } sum == 7 sum 7 {
            System.out.println(S + "=7");
            break;
          } System.out.println(S + "=7") System.out.println System.out System System.out S + "=7" S "=7" break; String[] args args
import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		String s = sc.next();
		int n = s.length() - 1;
		char[] a = new char[s.length()];
        int[] A = new int[s.length()];
        for(int i = 0; i < s.length(); i++){
          a[i] = s.charAt(i);
          A[i] = Character.getNumericValue(a[i]);
        }
		
		for (int i = 0; i < Math.pow(2,n); i++) {
		  int sum = A[0];
          String S = "";
          S += a[0];
          for(int j = 0; j < n; j++){
            if((i & (1 << j)) == 0){
              sum += A[j+1];
              S += '+';
              S += a[j+1];
            }else{
              sum -= A[j+1];
              S += '-';
              S += a[j+1];
            }
          }
          if(sum == 7){
            System.out.println(S + "=7");
            break;
          }
		}
      
	}
}