import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char[] s = sc.next().toCharArray();
    char[] signs = new char[3];
    int sum = 0;
    int sign = 1;
    for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    }
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char[] s = sc.next().toCharArray();
    char[] signs = new char[3];
    int sum = 0;
    int sign = 1;
    for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char[] s = sc.next().toCharArray();
    char[] signs = new char[3];
    int sum = 0;
    int sign = 1;
    for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    }
  } main {
    Scanner sc = new Scanner(System.in);
    char[] s = sc.next().toCharArray();
    char[] signs = new char[3];
    int sum = 0;
    int sign = 1;
    for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] s = sc.next().toCharArray(); s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc char[] signs = new char[3]; signs new char[3] 3 int sum = 0; sum 0 int sign = 1; sign 1 for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    } int i=0; int i=0; i 0 i<8 i 8 i++ i++ i {
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    } {
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    } sum = 0 sum 0 sign = 1 sign 1 for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      } int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      } {
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      } if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        } ((i>>(2-j)) & 1)==1 ((i>>(2-j)) & 1) (i>>(2-j)) i (2-j) 2 j 1 1 {
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        } sum+=(s[j] -'0')*sign sum (s[j] -'0')*sign (s[j] -'0') s[j] s j '0' sign sign = 1 sign 1 signs[j] = '+' signs[j] signs j '+' {
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        } sum+=(s[j]-'0')*sign sum (s[j]-'0')*sign (s[j]-'0') s[j] s j '0' sign sign = -1 sign -1 1 signs[j] = '-' signs[j] signs j '-' sum+=(s[3]-'0')*sign sum (s[3]-'0')*sign (s[3]-'0') s[3] s 3 '0' sign if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      } sum == 7 sum 7 {
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      } for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        } int k=0; int k=0; k 0 k<3 k 3 k++ k++ k {
          System.out.print(s[k]+""+signs[k]);
        } {
          System.out.print(s[k]+""+signs[k]);
        } System.out.print(s[k]+""+signs[k]) System.out.print System.out System System.out s[k]+""+signs[k] s[k]+""+signs[k] s[k] s k "" signs[k] signs k System.out.print(s[3]+"=7") System.out.print System.out System System.out s[3]+"=7" s[3] s 3 "=7" System.out.flush() System.out.flush System.out System System.out break; String[] args args
import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char[] s = sc.next().toCharArray();
    char[] signs = new char[3];
    int sum = 0;
    int sign = 1;
    for(int i=0;i<8;i++){
      sum = 0;
      sign = 1;
      for(int j=0;j<3;j++){
        if(((i>>(2-j)) & 1)==1){
          sum+=(s[j] -'0')*sign;
          sign = 1;
          signs[j] = '+';
        }else{
          sum+=(s[j]-'0')*sign;
          sign = -1;
          signs[j] = '-';
        }
      }
      sum+=(s[3]-'0')*sign;
      if(sum == 7){
        for(int k=0;k<3;k++){
          System.out.print(s[k]+""+signs[k]);
        }
        System.out.print(s[3]+"=7");
        System.out.flush();
       	break;
      }
    }
  }
}