import java.util.*;

public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int imprtnum = scan.nextInt();

        int A,B,C,D;
        D=imprtnum%10;
        imprtnum/=10;
        C=imprtnum%10;
        imprtnum/=10;
        B=imprtnum%10;
        imprtnum/=10;
        A=imprtnum%10;

        boolean p1 = A+B+C+D==7;
        boolean p2 = A+B+C-D==7;
        boolean p3 = A+B-C+D==7;
        boolean p4 = A+B-C-D==7;
        boolean p5 = A-B+C+D==7;
        boolean p6 = A-B+C-D==7;
        boolean p7 = A-B-C+D==7;
        boolean p8 = A-B-C-D==7;

        if(p1){
            System.out.println(A+"+"+B+"+"+C+"+"+D+"=7");
        }else if(p2){
            System.out.println(A+"+"+B+"+"+C+"-"+D+"=7");
        }else if(p3){
            System.out.println(A+"+"+B+"-"+C+"+"+D+"=7");
        }else if(p4){
            System.out.println(A+"+"+B+"-"+C+"-"+D+"=7");
        }else if(p5){
            System.out.println(A+"-"+B+"+"+C+"+"+D+"=7");
        }else if(p6){
            System.out.println(A+"-"+B+"+"+C+"-"+D+"=7");
        }else if(p7){
            System.out.println(A+"-"+B+"-"+C+"+"+D+"=7");
        }else if(p8){
            System.out.println(A+"-"+B+"-"+C+"-"+D+"=7");
        }
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz