import java.util.*;
public class Main{

  public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  }
}
 import java.util.*; util.* java public class Main{

  public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  }
} Main public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  } main {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] nums = new int[]{1,2,2,2}; nums new int[]{1,2,2,2} for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      } int i = 3; int i = 3; i 3 i>=0 i 0 i-- i-- i {
          nums[i] = n % 10;
          n /= 10;
      } {
          nums[i] = n % 10;
          n /= 10;
      } nums[i] = n % 10 nums[i] nums i n % 10 n 10 n /= 10 n 10 for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      } int i = 0; int i = 0; i 0 i < (1 << 3) i (1 << 3) 1 3 i++ i++ i { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      } { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      } int res = nums[0]; res nums[0] nums 0 for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          } int j = 1; int j = 1; j 1 j < nums.length j nums.length nums nums.length j++ j++ j {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          } {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          } if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j]; ((i >> (j-1)) & 1) == 0 ((i >> (j-1)) & 1) (i >> (j-1)) i (j-1) j 1 1 0 res -= nums[j] res nums[j] nums j res += nums[j] res nums[j] nums j if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          } res == 7 res 7 {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          } StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append((char)(nums[0]+'0')) sb.append sb (char)(nums[0]+'0') nums[0] nums 0 '0' for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            } int j = 1; int j = 1; j 1 j < nums.length j nums.length nums nums.length j++ j++ j {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            } {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            } if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+'); ((i >> (j-1)) & 1) == 0 ((i >> (j-1)) & 1) (i >> (j-1)) i (j-1) j 1 1 0 sb.append('-') sb.append sb '-' sb.append('+') sb.append sb '+' sb.append((char)(nums[j]+'0')) sb.append sb (char)(nums[j]+'0') nums[j] nums j '0' System.out.println(sb.toString() + "=7") System.out.println System.out System System.out sb.toString() + "=7" sb.toString() sb.toString sb "=7" return; String[] args args public class Main{

  public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  }
} public class Main{

  public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  }
} Main
import java.util.*;
public class Main{

  public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] nums = new int[]{1,2,2,2};
      for(int i = 3; i>=0; i--) {
          nums[i] = n % 10;
          n /= 10;
      }
      
      for(int i = 0; i < (1 << 3); i++) { // 0: -, 1: +
          int res = nums[0];
          for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                res -= nums[j];
              else
                res += nums[j];
          }
          if(res == 7) {
            StringBuilder sb = new StringBuilder();
            sb.append((char)(nums[0]+'0'));
            for(int j = 1; j < nums.length; j++) {
              if(((i >> (j-1)) & 1) == 0)
                sb.append('-');
              else
                sb.append('+');
              sb.append((char)(nums[j]+'0'));
            }
            
            System.out.println(sb.toString() + "=7");
            return;
          }
      }

  }
}

