//４つの数字を+-を使って7にする
import java.util.Scanner;

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

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

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

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

    } main {
        Scanner scan = new Scanner(System.in);

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int[] a = new int[4]; a new int[4] 4 int[] b = new int[8]; b new int[8] 8 int N = 7; N 7 for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            a[3-i] = x%10;
            x = x/10;
        } {
            a[3-i] = x%10;
            x = x/10;
        } a[3-i] = x%10 a[3-i] a 3-i 3 i x%10 x 10 x = x/10 x x/10 x 10 b[0] = a[0]+a[1]+a[2]+a[3] b[0] b 0 a[0]+a[1]+a[2]+a[3] a[2] a[0]+a[1]+a[2]+a[3] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[1] = a[0]+a[1]+a[2]-a[3] b[1] b 1 a[0]+a[1]+a[2]-a[3] a[0]+a[1]+a[2] a[0]+a[1]+a[2] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[2] = a[0]+a[1]-a[2]+a[3] b[2] b 2 a[0]+a[1]-a[2]+a[3] a[0]+a[1]-a[2] a[0]+a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[3] = a[0]+a[1]-a[2]-a[3] b[3] b 3 a[0]+a[1]-a[2]-a[3] a[0]+a[1]-a[2]-a[3] a[0]+a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[4] = a[0]-a[1]+a[2]+a[3] b[4] b 4 a[0]-a[1]+a[2]+a[3] a[0]-a[1]+a[2]+a[3] a[0]-a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[5] = a[0]-a[1]+a[2]-a[3] b[5] b 5 a[0]-a[1]+a[2]-a[3] a[0]-a[1]+a[2] a[0]-a[1] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[6] = a[0]-a[1]-a[2]-a[3] b[6] b 6 a[0]-a[1]-a[2]-a[3] a[2] a[0]-a[1]-a[2]-a[3] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 b[7] = a[0]-a[1]-a[2]+a[3] b[7] b 7 a[0]-a[1]-a[2]+a[3] a[0]-a[1]-a[2] a[0]-a[1]-a[2] a[0] a 0 a[1] a 1 a[2] a 2 a[3] a 3 if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[0] == N b[0] b 0 N System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N "=" a[3] "+" a[2] "+" a[1] a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N a[0] a 0 "+" a[1] a 1 "+" a[2] a 2 "+" a[3] a 3 "=" N if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[1] == N b[1] b 1 N System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N "=" a[3] "-" a[2] "+" a[1] a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N a[0] a 0 "+" a[1] a 1 "+" a[2] a 2 "-" a[3] a 3 "=" N if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[2] == N b[2] b 2 N System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N "=" a[3] "+" a[2] "-" a[1] a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N a[0] a 0 "+" a[1] a 1 "-" a[2] a 2 "+" a[3] a 3 "=" N if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[3] == N b[3] b 3 N System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N "=" a[3] "-" a[2] "-" a[1] a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N a[0] a 0 "+" a[1] a 1 "-" a[2] a 2 "-" a[3] a 3 "=" N if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[4] == N b[4] b 4 N System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N "=" a[3] "+" a[2] "+" a[1] a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N a[0] a 0 "-" a[1] a 1 "+" a[2] a 2 "+" a[3] a 3 "=" N if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[5] == N b[5] b 5 N System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N "=" a[3] "-" a[2] "+" a[1] a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N a[0] a 0 "-" a[1] a 1 "+" a[2] a 2 "-" a[3] a 3 "=" N if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[6] == N b[6] b 6 N System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N "=" a[3] "-" a[2] "-" a[1] a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N a[0] a 0 "-" a[1] a 1 "-" a[2] a 2 "-" a[3] a 3 "=" N if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N); b[7] == N b[7] b 7 N System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N) System.out.println System.out System System.out a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N "=" a[3] "+" a[2] "-" a[1] a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N a[0] a 0 "-" a[1] a 1 "-" a[2] a 2 "+" a[3] a 3 "=" N String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

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

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

    }
} Main
//４つの数字を+-を使って7にする
import java.util.Scanner;

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

        int x = scan.nextInt();

        int[] a = new int[4];
        int[] b = new int[8];
        int N = 7;

        for (int i = 0; i < 4; i++) {
            a[3-i] = x%10;
            x = x/10;
        }

        b[0] = a[0]+a[1]+a[2]+a[3];
        b[1] = a[0]+a[1]+a[2]-a[3];
        b[2] = a[0]+a[1]-a[2]+a[3];
        b[3] = a[0]+a[1]-a[2]-a[3];
        b[4] = a[0]-a[1]+a[2]+a[3];
        b[5] = a[0]-a[1]+a[2]-a[3];
        b[6] = a[0]-a[1]-a[2]-a[3];
        b[7] = a[0]-a[1]-a[2]+a[3];
        if(b[0] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[1] == N)
            System.out.println(a[0] + "+" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[2] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);
        else if(b[3] == N)
            System.out.println(a[0] + "+" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[4] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "+" + a[3] + "=" + N);
        else if(b[5] == N)
            System.out.println(a[0] + "-" + a[1] + "+" + a[2] + "-" + a[3] + "=" + N);
        else if(b[6] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "-" + a[3] + "=" + N);
        else if(b[7] == N)
            System.out.println(a[0] + "-" + a[1] + "-" + a[2] + "+" + a[3] + "=" + N);

    }
}