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

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    }
} Main public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    } main {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int line = scan.nextInt(); line scan.nextInt() scan.nextInt scan int D = line % 10; D line % 10 line 10 line /= 10 line 10 int C = line % 10; C line % 10 line 10 line /= 10 line 10 int B = line % 10; B line % 10 line 10 line /= 10 line 10 int A = line % 10; A line % 10 line 10 if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A + B + C + D == 7 A + B + C + D C A + B + C + D A B C D 7 System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7") System.out.println System.out System System.out A+ "+" +B+ "+" +C+ "+" + D + "=7" D "+" C "+" B A+ "+" +B+ "+" +C+ "+" + D + "=7" A "+" B "+" C "+" D "=7" if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A - B + C + D == 7 A - B + C + D A - B + C + D A - B A B C D 7 System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7") System.out.println System.out System System.out A+ "-" +B+ "+" +C+ "+" + D + "=7" D "+" C "+" B A+ "-" +B+ "+" +C+ "+" + D + "=7" A "-" B "+" C "+" D "=7" if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A + B - C + D == 7 A + B - C + D A + B - C A + B A B C D 7 System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7") System.out.println System.out System System.out A+ "+" +B+ "-" +C+ "+" + D + "=7" D "+" C "-" B A+ "+" +B+ "-" +C+ "+" + D + "=7" A "+" B "-" C "+" D "=7" if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A - B - C + D == 7 A - B - C + D A - B - C A - B - C A B C D 7 System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7") System.out.println System.out System System.out A+ "-" +B+ "-" +C+ "+" + D + "=7" D "+" C "-" B A+ "-" +B+ "-" +C+ "+" + D + "=7" A "-" B "-" C "+" D "=7" if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A + B + C - D == 7 A + B + C - D A + B + C A + B + C A B C D 7 System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7") System.out.println System.out System System.out A+ "+" +B+ "+" +C+ "-" + D + "=7" D "-" C "+" B A+ "+" +B+ "+" +C+ "-" + D + "=7" A "+" B "+" C "-" D "=7" if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A - B + C - D == 7 A - B + C - D A - B + C A - B A B C D 7 System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7") System.out.println System.out System System.out A+ "-" +B+ "+" +C+ "-" + D + "=7" D "-" C "+" B A+ "-" +B+ "+" +C+ "-" + D + "=7" A "-" B "+" C "-" D "=7" if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A + B - C - D == 7 A + B - C - D A + B - C - D A + B A B C D 7 System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7") System.out.println System.out System System.out A+ "+" +B+ "-" +C+ "-" + D + "=7" D "-" C "-" B A+ "+" +B+ "-" +C+ "-" + D + "=7" A "+" B "-" C "-" D "=7" if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7"); A - B - C - D == 7 A - B - C - D C A - B - C - D A B C D 7 System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7") System.out.println System.out System System.out A+ "-" +B+ "-" +C+ "-" + D + "=7" D "-" C "-" B A+ "-" +B+ "-" +C+ "-" + D + "=7" A "-" B "-" C "-" D "=7" String args[] args public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    }
} public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);

        int line = scan.nextInt();
        int D = line % 10;
        line /= 10;
        int C = line % 10;
        line /= 10;
        int B = line % 10;
        line /= 10;
        int A = line % 10;

        if(A + B + C + D == 7) System.out.println(A+ "+" +B+ "+" +C+ "+" + D + "=7");
        else if(A - B + C + D == 7) System.out.println(A+ "-" +B+ "+" +C+ "+" + D + "=7");
        else if(A + B - C + D == 7) System.out.println(A+ "+" +B+ "-" +C+ "+" + D + "=7");
        else if(A - B - C + D == 7) System.out.println(A+ "-" +B+ "-" +C+ "+" + D + "=7");
        else if(A + B + C - D == 7) System.out.println(A+ "+" +B+ "+" +C+ "-" + D + "=7");
        else if(A - B + C - D == 7) System.out.println(A+ "-" +B+ "+" +C+ "-" + D + "=7");
        else if(A + B - C - D == 7) System.out.println(A+ "+" +B+ "-" +C+ "-" + D + "=7");
        else if(A - B - C - D == 7) System.out.println(A+ "-" +B+ "-" +C+ "-" + D + "=7");
    }
}
