import java.util.*;

public class Main{
  public static void main(String[] args){
    StringBuilder sb = new StringBuilder();
    Scanner sc = new Scanner(System.in);
    String s = sc.nextLine();
    int[] digit = new int[4];
    char[] c = new char[4];
    int s_idx = 0;
    int c_idx = 3;

    for(int i = 0; i < 4; i++){
      char tmp = s.charAt(s_idx);
      c[c_idx] = tmp;
      s_idx++;
      c_idx--;
    }

    for(int i = 3; i >= 0; i--){
      digit[i] = c[i] - '0';
    }



    outline:for(int j = 0; j < (int)Math.pow(2, 3); j++){
      sb.append(digit[3]);
      int sum = digit[3];
      for(int k = 2; k >= 0; k--){
        if((1 & (j >> k)) == 1){
          sb.append('-');
          sb.append(digit[k]);
          sum -= digit[k];
        }else{
          sb.append('+');
          sb.append(digit[k]);
          sum += digit[k];
        }
      }
      if(sum == 7){
        System.out.println(sb + "=7");
        break outline;
      }
      sb.setLength(0);
    }
  }
}
/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