import java.io.*;
public class Main{
  public static void main(String[] args){
    try{
      BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
	  int[] a = new int[4];
      String s = bf.readLine();
	  for(int i = 0; i < 4; i++)
        a[i] = charToInt(s, i);
      for(int i = 0; i < 8; i++){
        int ans = a[0];
      	for(int j = 0; j < 3; j++){
          int k = i>>j;
          if(k%2 == 1)
            ans += a[j+1];
          else
            ans -= a[j+1];
        }
        if(ans == 7){
          for(int j = 0; j < 3; j++){
            System.out.print(a[j]);
            System.out.print((i>>j)%2 == 1 ? "+" : "-");
          }
          System.out.println(a[3]+"=7");
          return;
        }
      }
    } catch(IOException e){}
  }
  public static int charToInt(String s, int k){
  	return Character.getNumericValue(s.charAt(k));
  }
}
    
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz