import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int s=sc.nextInt();
    int a=s/1000;
    int b=s/100%10;
    int c=s/10%10;
    int d=s%10;
    if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    }
    System.out.println("=7");
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int s=sc.nextInt();
    int a=s/1000;
    int b=s/100%10;
    int c=s/10%10;
    int d=s%10;
    if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    }
    System.out.println("=7");
  }
} Main public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int s=sc.nextInt();
    int a=s/1000;
    int b=s/100%10;
    int c=s/10%10;
    int d=s%10;
    if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    }
    System.out.println("=7");
  } main {
    Scanner sc=new Scanner(System.in);
    int s=sc.nextInt();
    int a=s/1000;
    int b=s/100%10;
    int c=s/10%10;
    int d=s%10;
    if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    }
    System.out.println("=7");
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int s=sc.nextInt(); s sc.nextInt() sc.nextInt sc int a=s/1000; a s/1000 s 1000 int b=s/100%10; b s/100%10 s/100 s 100 10 int c=s/10%10; c s/10%10 s/10 s 10 10 int d=s%10; d s%10 s 10 if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a+b+c+d==7 a+b+c+d c a+b+c+d a b c d 7 {
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    } System.out.print(a+"+"+b+"+"+c+"+"+d) System.out.print System.out System System.out a+"+"+b+"+"+c+"+"+d "+" c "+" b a+"+"+b+"+"+c+"+"+d a "+" b "+" c "+" d if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a+b+c-d==7 a+b+c-d a+b+c a+b+c a b c d 7 {
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    } System.out.print(a+"+"+b+"+"+c+"-"+d) System.out.print System.out System System.out a+"+"+b+"+"+c+"-"+d "-" c "+" b a+"+"+b+"+"+c+"-"+d a "+" b "+" c "-" d if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a+b-c+d==7 a+b-c+d a+b-c a+b a b c d 7 {
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    } System.out.print(a+"+"+b+"-"+c+"+"+d) System.out.print System.out System System.out a+"+"+b+"-"+c+"+"+d "+" c "-" b a+"+"+b+"-"+c+"+"+d a "+" b "-" c "+" d if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a+b-c-d==7 a+b-c-d a+b-c-d a+b a b c d 7 {
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    } System.out.print(a+"+"+b+"-"+c+"-"+d) System.out.print System.out System System.out a+"+"+b+"-"+c+"-"+d "-" c "-" b a+"+"+b+"-"+c+"-"+d a "+" b "-" c "-" d if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a-b+c+d==7 a-b+c+d a-b+c+d a-b a b c d 7 {
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    } System.out.print(a+"-"+b+"+"+c+"+"+d) System.out.print System.out System System.out a+"-"+b+"+"+c+"+"+d "+" c "+" b a+"-"+b+"+"+c+"+"+d a "-" b "+" c "+" d if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a-b+c-d==7 a-b+c-d a-b+c a-b a b c d 7 {
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    } System.out.print(a+"-"+b+"+"+c+"-"+d) System.out.print System.out System System.out a+"-"+b+"+"+c+"-"+d "-" c "+" b a+"-"+b+"+"+c+"-"+d a "-" b "+" c "-" d if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } a-b-c+d==7 a-b-c+d a-b-c a-b-c a b c d 7 {
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    } System.out.print(a+"-"+b+"-"+c+"+"+d) System.out.print System.out System System.out a+"-"+b+"-"+c+"+"+d "+" c "-" b a+"-"+b+"-"+c+"+"+d a "-" b "-" c "+" d {
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    } System.out.print(a+"-"+b+"-"+c+"-"+d) System.out.print System.out System System.out a+"-"+b+"-"+c+"-"+d "-" c "-" b a+"-"+b+"-"+c+"-"+d a "-" b "-" c "-" d System.out.println("=7") System.out.println System.out System System.out "=7" String[] args args
import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int s=sc.nextInt();
    int a=s/1000;
    int b=s/100%10;
    int c=s/10%10;
    int d=s%10;
    if(a+b+c+d==7){
      System.out.print(a+"+"+b+"+"+c+"+"+d);
    }else if(a+b+c-d==7){
      System.out.print(a+"+"+b+"+"+c+"-"+d);
    }else if(a+b-c+d==7){
      System.out.print(a+"+"+b+"-"+c+"+"+d);
    }else if(a+b-c-d==7){
      System.out.print(a+"+"+b+"-"+c+"-"+d);
    }else if(a-b+c+d==7){
      System.out.print(a+"-"+b+"+"+c+"+"+d);
    }else if(a-b+c-d==7){
      System.out.print(a+"-"+b+"+"+c+"-"+d);
    }else if(a-b-c+d==7){
      System.out.print(a+"-"+b+"-"+c+"+"+d);
    }else{
      System.out.print(a+"-"+b+"-"+c+"-"+d);
    }
    System.out.println("=7");
  }
}