import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	}

	static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	}

}

class Pair {
	private int x;
	private int y;

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Pair() {

	}

	public Pair(int x, int y) {
		this.x = x;
		this.y = y;
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	}

	static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	} main {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.next(); str sc.next() sc.next sc int a = Integer.parseInt(String.valueOf(str.charAt(0))); a Integer.parseInt(String.valueOf(str.charAt(0))) Integer.parseInt Integer String.valueOf(str.charAt(0)) String.valueOf String str.charAt(0) str.charAt str 0 int b = Integer.parseInt(String.valueOf(str.charAt(1))); b Integer.parseInt(String.valueOf(str.charAt(1))) Integer.parseInt Integer String.valueOf(str.charAt(1)) String.valueOf String str.charAt(1) str.charAt str 1 int c = Integer.parseInt(String.valueOf(str.charAt(2))); c Integer.parseInt(String.valueOf(str.charAt(2))) Integer.parseInt Integer String.valueOf(str.charAt(2)) String.valueOf String str.charAt(2) str.charAt str 2 int d = Integer.parseInt(String.valueOf(str.charAt(3))); d Integer.parseInt(String.valueOf(str.charAt(3))) Integer.parseInt Integer String.valueOf(str.charAt(3)) String.valueOf String str.charAt(3) str.charAt str 3 for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		} int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		} {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		} for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			} int j = 0; int j = 0; j 0 j < 2 j 2 j++ j++ j {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			} {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			} for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				} int k = 0; int k = 0; k 0 k < 2 k 2 k++ k++ k {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				} {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				} int ans = a; ans a ans += i == 0 ? b : (-b) ans i == 0 ? b : (-b) i == 0 i 0 b (-b) b ans += j == 0 ? c : (-c) ans j == 0 ? c : (-c) j == 0 j 0 c (-c) c ans += k == 0 ? d : (-d) ans k == 0 ? d : (-d) k == 0 k 0 d (-d) d if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					} ans == 7 ans 7 {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					} String out = ""; out "" out += a out a out += i == 0 ? "+" : "-" out i == 0 ? "+" : "-" i == 0 i 0 "+" "-" out += b out b out += j == 0 ? "+" : "-" out j == 0 ? "+" : "-" j == 0 j 0 "+" "-" out += c out c out += k == 0 ? "+" : "-" out k == 0 ? "+" : "-" k == 0 k 0 "+" "-" out += d + "=7" out d + "=7" d "=7" System.out.println(out) System.out.println System.out System System.out out return; String[] args args static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	} calcDistance {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	} return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5); Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5) Math.pow Math Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2) Math.pow(p1.getX() - p2.getX(), 2) Math.pow Math p1.getX() - p2.getX() p1.getX() p1.getX p1 p2.getX() p2.getX p2 2 Math.pow(p1.getY() - p2.getY(), 2) Math.pow Math p1.getY() - p2.getY() p1.getY() p1.getY p1 p2.getY() p2.getY p2 2 0.5 Pair p1 p1 Pair p2 p2 class Pair {
	private int x;
	private int y;

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Pair() {

	}

	public Pair(int x, int y) {
		this.x = x;
		this.y = y;
	}

} Pair private int x; x private int y; y public int getX() {
		return x;
	} getX {
		return x;
	} return x; x public void setX(int x) {
		this.x = x;
	} setX {
		this.x = x;
	} this.x = x this.x this this.x x int x x public int getY() {
		return y;
	} getY {
		return y;
	} return y; y public void setY(int y) {
		this.y = y;
	} setY {
		this.y = y;
	} this.y = y this.y this this.y y int y y public Pair() {

	} Pair {

	} public Pair(int x, int y) {
		this.x = x;
		this.y = y;
	} Pair {
		this.x = x;
		this.y = y;
	} this.x = x this.x this this.x x this.y = y this.y this this.y y int x x int y y public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	}

	static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	}

} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	}

	static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		int a = Integer.parseInt(String.valueOf(str.charAt(0)));
		int b = Integer.parseInt(String.valueOf(str.charAt(1)));
		int c = Integer.parseInt(String.valueOf(str.charAt(2)));
		int d = Integer.parseInt(String.valueOf(str.charAt(3)));

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				for (int k = 0; k < 2; k++) {
					int ans = a;
					ans += i == 0 ? b : (-b);
					ans += j == 0 ? c : (-c);
					ans += k == 0 ? d : (-d);

					if (ans == 7) {
						// end
						String out = "";
						out += a;
						out += i == 0 ? "+" : "-";
						out += b;
						out += j == 0 ? "+" : "-";
						out += c;
						out += k == 0 ? "+" : "-";
						out += d + "=7";
						System.out.println(out);
						return;
					}
					
				}
			}

		}
	}

	static double calcDistance(Pair p1, Pair p2) {
		return Math.pow(Math.pow(p1.getX() - p2.getX(), 2) + Math.pow(p1.getY() - p2.getY(), 2), 0.5);
	}

}

class Pair {
	private int x;
	private int y;

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Pair() {

	}

	public Pair(int x, int y) {
		this.x = x;
		this.y = y;
	}

}
