import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int A = Character.getNumericValue(s.charAt(0)); A Character.getNumericValue(s.charAt(0)) Character.getNumericValue Character s.charAt(0) s.charAt s 0 int B = Character.getNumericValue(s.charAt(1)); B Character.getNumericValue(s.charAt(1)) Character.getNumericValue Character s.charAt(1) s.charAt s 1 int C = Character.getNumericValue(s.charAt(2)); C Character.getNumericValue(s.charAt(2)) Character.getNumericValue Character s.charAt(2) s.charAt s 2 int D = Character.getNumericValue(s.charAt(3)); D Character.getNumericValue(s.charAt(3)) Character.getNumericValue Character s.charAt(3) s.charAt s 3 if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A+B+C+D==7 A+B+C+D C A+B+C+D A B C D 7 {
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    } System.out.println(A+"+"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"+"+B+"+"+C+"+"+D+"=7" A "+" B "+" C "+" D "=7" if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A-B+C+D==7 A-B+C+D A-B+C+D A-B A B C D 7 {
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    } System.out.println(A+"-"+B+"+"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"+"+D+"=7" D "+" C "+" B A+"-"+B+"+"+C+"+"+D+"=7" A "-" B "+" C "+" D "=7" if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A+B-C+D==7 A+B-C+D A+B-C A+B A B C D 7 {
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    } System.out.println(A+"+"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"+"+B+"-"+C+"+"+D+"=7" A "+" B "-" C "+" D "=7" if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A+B+C-D==7 A+B+C-D A+B+C A+B+C A B C D 7 {
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    } System.out.println(A+"+"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"+"+B+"+"+C+"-"+D+"=7" A "+" B "+" C "-" D "=7" if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A-B-C+D==7 A-B-C+D A-B-C A-B-C A B C D 7 {
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    } System.out.println(A+"-"+B+"-"+C+"+"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"+"+D+"=7" D "+" C "-" B A+"-"+B+"-"+C+"+"+D+"=7" A "-" B "-" C "+" D "=7" if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A-B+C-D==7 A-B+C-D A-B+C A-B A B C D 7 {
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    } System.out.println(A+"-"+B+"+"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"+"+C+"-"+D+"=7" D "-" C "+" B A+"-"+B+"+"+C+"-"+D+"=7" A "-" B "+" C "-" D "=7" if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A+B-C-D==7 A+B-C-D A+B-C-D A+B A B C D 7 {
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    } System.out.println(A+"+"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"+"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"+"+B+"-"+C+"-"+D+"=7" A "+" B "-" C "-" D "=7" if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } A-B-C-D==7 A-B-C-D C A-B-C-D A B C D 7 {
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    } System.out.println(A+"-"+B+"-"+C+"-"+D+"=7") System.out.println System.out System System.out A+"-"+B+"-"+C+"-"+D+"=7" D "-" C "-" B A+"-"+B+"-"+C+"-"+D+"=7" A "-" B "-" C "-" D "=7" String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  }
} Main
import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int A = Character.getNumericValue(s.charAt(0));
    int B = Character.getNumericValue(s.charAt(1));
    int C = Character.getNumericValue(s.charAt(2));
    int D = Character.getNumericValue(s.charAt(3));
    if(A+B+C+D==7){
      System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
    }else if(A-B+C+D==7){
      System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
    }else if(A+B-C+D==7){
      System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
    }else if(A+B+C-D==7){
      System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
    }else if(A-B-C+D==7){
      System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
    }else if(A-B+C-D==7){
      System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
    }else if(A+B-C-D==7){
      System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
    }else if(A-B-C-D==7){
      System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
    }
  }
}
