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);
    }
  }
} import java.util.*; util.* java 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);
    }
  }
} 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);
    }
  } main {
    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);
    }
  } StringBuilder sb = new StringBuilder(); sb new StringBuilder() Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc int[] digit = new int[4]; digit new int[4] 4 char[] c = new char[4]; c new char[4] 4 int s_idx = 0; s_idx 0 int c_idx = 3; c_idx 3 for(int i = 0; i < 4; i++){
      char tmp = s.charAt(s_idx);
      c[c_idx] = tmp;
      s_idx++;
      c_idx--;
    } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
      char tmp = s.charAt(s_idx);
      c[c_idx] = tmp;
      s_idx++;
      c_idx--;
    } {
      char tmp = s.charAt(s_idx);
      c[c_idx] = tmp;
      s_idx++;
      c_idx--;
    } char tmp = s.charAt(s_idx); tmp s.charAt(s_idx) s.charAt s s_idx c[c_idx] = tmp c[c_idx] c c_idx tmp s_idx++ s_idx c_idx-- c_idx for(int i = 3; i >= 0; i--){
      digit[i] = c[i] - '0';
    } int i = 3; int i = 3; i 3 i >= 0 i 0 i-- i-- i {
      digit[i] = c[i] - '0';
    } {
      digit[i] = c[i] - '0';
    } digit[i] = c[i] - '0' digit[i] digit i c[i] - '0' c[i] c i '0' String[] args args 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);
    }
  }
} 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);
    }
  }
} Main
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);
    }
  }
}