import java.util.Scanner;

public class Main {

    private static boolean calc7(int a, int b, int c, int d, String op1, String op2, String op3) {
        int e = 0;
        e = op1.equals("+") ? (a+b) : (a-b);
        e = op2.equals("+") ? (e+c) : (e-c);
        e = op3.equals("+") ? (e+d) : (e-d);

        if (e == 7) {
            System.out.println(a+op1+b+op2+c+op3+d+"=7");
            System.exit(0);
            return true;
        }
        return false;
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] sn = sc.next().split("");
        int a = Integer.parseInt(sn[0]);
        int b = Integer.parseInt(sn[1]);
        int c = Integer.parseInt(sn[2]);
        int d = Integer.parseInt(sn[3]);

        calc7(a, b, c, d, "+", "+", "+");
        calc7(a, b, c, d, "+", "+", "-");
        calc7(a, b, c, d, "+", "-", "+");
        calc7(a, b, c, d, "+", "-", "-");
        calc7(a, b, c, d, "-", "+", "+");
        calc7(a, b, c, d, "-", "+", "-");
        calc7(a, b, c, d, "-", "-", "+");
        calc7(a, b, c, d, "-", "-", "-");
    }

}
/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