
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String N = scan.next(); N scan.next() scan.next scan int A = Integer.parseInt(N.substring(0, 1)); A Integer.parseInt(N.substring(0, 1)) Integer.parseInt Integer N.substring(0, 1) N.substring N 0 1 int B = Integer.parseInt(N.substring(1, 2)); B Integer.parseInt(N.substring(1, 2)) Integer.parseInt Integer N.substring(1, 2) N.substring N 1 2 int C = Integer.parseInt(N.substring(2, 3)); C Integer.parseInt(N.substring(2, 3)) Integer.parseInt Integer N.substring(2, 3) N.substring N 2 3 int D = Integer.parseInt(N.substring(3, 4)); D Integer.parseInt(N.substring(3, 4)) Integer.parseInt Integer N.substring(3, 4) N.substring N 3 4 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(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 A + B + C A B C D 7 {
			System.out.println(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(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 - D A + B A B C D 7 {
			System.out.println(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 + D A - B A B C D 7 {
			System.out.println(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(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 A - B - C A B C D 7 {
			System.out.println(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(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" scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String N = scan.next();
		int A = Integer.parseInt(N.substring(0, 1));
		int B = Integer.parseInt(N.substring(1, 2));
		int C = Integer.parseInt(N.substring(2, 3));
		int D = Integer.parseInt(N.substring(3, 4));
		
		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");
		}
		scan.close();

	}

}
