import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  } main {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] list = sc.next().split(""); list sc.next().split("") sc.next().split sc.next() sc.next sc "" for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    } int i = 0; int i = 0; i 0 i < Math.pow(2, list.length - 1) i Math.pow(2, list.length - 1) Math.pow Math 2 list.length - 1 list.length list list.length 1 i++ i++ i {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    } {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    } int total = Integer.parseInt(list[0]); total Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 StringBuilder answer = new StringBuilder(list[0]); answer new StringBuilder(list[0]) for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      } int j = 0; int j = 0; j 0 j < list.length - 1 j list.length - 1 list.length list list.length 1 j++ j++ j {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      } {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      } if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        } (1&i>>j) == 1 (1&i>>j) 1 i>>j i j 1 {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } total += Integer.parseInt(list[j + 1]) total Integer.parseInt(list[j + 1]) Integer.parseInt Integer list[j + 1] list j + 1 j 1 answer.append("+").append(list[j + 1]) answer.append("+").append answer.append("+") answer.append answer "+" list[j + 1] list j + 1 j 1 {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        } total -= Integer.parseInt(list[j + 1]) total Integer.parseInt(list[j + 1]) Integer.parseInt Integer list[j + 1] list j + 1 j 1 answer.append("-").append(list[j + 1]) answer.append("-").append answer.append("-") answer.append answer "-" list[j + 1] list j + 1 j 1 if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      } total == 7 total 7 {
        System.out.println(answer.append("=7").toString());
        break;
      } System.out.println(answer.append("=7").toString()) System.out.println System.out System System.out answer.append("=7").toString() answer.append("=7").toString answer.append("=7") answer.append answer "=7" break; String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    String[] list = sc.next().split("");
    
    for(int i = 0; i < Math.pow(2, list.length - 1); i++) {
      int total = Integer.parseInt(list[0]);
      StringBuilder answer = new StringBuilder(list[0]);
      for(int j = 0; j < list.length - 1; j++) {
        
        if((1&i>>j) == 1) {
          total += Integer.parseInt(list[j + 1]);
          answer.append("+").append(list[j + 1]);
        } else {
          total -= Integer.parseInt(list[j + 1]);
          answer.append("-").append(list[j + 1]);
        }
      }
      if(total == 7) {
        System.out.println(answer.append("=7").toString());
        break;
      }
    }  
  }
}