import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int a = num/1000; a num/1000 num 1000 int b = (num%1000)/100; b (num%1000)/100 (num%1000) num 1000 100 int c = ((num%1000)%100)/10; c ((num%1000)%100)/10 ((num%1000)%100) (num%1000) num 1000 100 10 int d = ((num%1000)%100)%10; d ((num%1000)%100)%10 ((num%1000)%100) (num%1000) num 1000 100 10 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-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");
    }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");
    } 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");
    } 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 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" String[] args args public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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);
    int num = sc.nextInt();
    
    int a = num/1000;
    int b = (num%1000)/100;
    int c = ((num%1000)%100)/10;
    int d = ((num%1000)%100)%10;
    
    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");
    }

  }
}
