import java.util.*;
import java.util.Arrays;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    }
    
    static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    }
        
        
} import java.util.*; util.* java import java.util.Arrays; Arrays java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    }
    
    static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    }
        
        
} Main public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int[] nums = new int[4]; nums new int[4] 4 String text = scanner.next(); text scanner.next() scanner.next scanner for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        } int i=0; int i=0; i 0 i<nums.length i nums.length nums nums.length i++ i++ i {
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        } {
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        } nums[i] = text.charAt(i)-'0' nums[i] nums i text.charAt(i)-'0' text.charAt(i) text.charAt text i '0' int n = nums.length-1; n nums.length-1 nums.length nums nums.length 1 Character[] str = new Character[n]; str new Character[n] n int result = 0; result 0 for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        } int bit=0; int bit=0; bit 0 bit < Math.pow(2,n) bit Math.pow(2,n) Math.pow Math 2 n bit++ bit++ bit {
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        } {
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        } for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            } {
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            } if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                } (bit & (1<<i))!=0 (bit & (1<<i)) bit (1<<i) 1 i 0 {
                    str[i] = '+';
                    
                } str[i] = '+' str[i] str i '+' {
                    str[i] = '-';
                    
                } str[i] = '-' str[i] str i '-' int[] str_nums = nums.clone(); str_nums nums.clone() nums.clone nums result = caluclator(str,str_nums) result caluclator(str,str_nums) caluclator str str_nums if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            } result==7 result 7 {
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            } for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                } {
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                } System.out.print(nums[i]) System.out.print System.out System System.out nums[i] nums i System.out.print(str[i]) System.out.print System.out System System.out str[i] str i System.out.print(nums[3]+"=7") System.out.print System.out System System.out nums[3]+"=7" nums[3] nums 3 "=7" break; String[] args args static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    } caluclator {
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    } for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        } {
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        } if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            } operator[i]=='+' operator[i] operator i '+' {
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            } nums2[i+1] = nums2[i]+nums2[i+1] nums2[i+1] nums2 i+1 i 1 nums2[i]+nums2[i+1] nums2[i] nums2 i nums2[i+1] nums2 i+1 i 1 {
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            } nums2[i+1] = nums2[i]-nums2[i+1] nums2[i+1] nums2 i+1 i 1 nums2[i]-nums2[i+1] nums2[i] nums2 i nums2[i+1] nums2 i+1 i 1 return nums2[3]; nums2[3] nums2 3 Character operator[] operator int nums2[] nums2 public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    }
    
    static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    }
        
        
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    }
    
    static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    }
        
        
} Main
import java.util.*;
import java.util.Arrays;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        
        int[] nums = new int[4];
        
        String text = scanner.next();
        
        for(int i=0; i<nums.length; i++){
            nums[i] = text.charAt(i)-'0';
           // System.out.print(nums[i]+" ");
        }
       
        
        int n = nums.length-1;
        Character[] str = new Character[n];
        
        int result = 0;
        for(int bit=0; bit < Math.pow(2,n); bit++){
            
        
            for(int i=0;i<n;i++){
                if((bit & (1<<i))!=0){
                    str[i] = '+';
                    
                }else{
                    str[i] = '-';
                    
                }
                
            }
            int[] str_nums = nums.clone();
            result = caluclator(str,str_nums);
            
            
            if(result==7){
                for(int i=0;i<3;i++){
                    System.out.print(nums[i]);
                    System.out.print(str[i]);
                }
                
                System.out.print(nums[3]+"=7");
                break;
            }
            
            
            
            
        }
    }
    
    static int caluclator(Character operator[],int nums2[]){
        
        for(int i=0;i<3;i++){
            
            if(operator[i]=='+'){
                
                nums2[i+1] = nums2[i]+nums2[i+1];
            }else{
               
                 nums2[i+1] = nums2[i]-nums2[i+1]; 
            }
        }
        return nums2[3];
        
    }
        
        
}