#include <iostream>
using std::cout;
using std::cin;
using std::endl;

int main()
{
	int a = 0, b = 0, c = 0, d = 0, num = 0;
	cin >> num;
	a = num / 1000;
	b = (num - a * 1000) / 100;
	c = (num - a * 1000 - b * 100) / 10;
	d = num % 10;
	if (a + b + c + d == 7)
		cout << a << '+' << b << '+' << c << '+' << d << '=' << '7' << endl;
	if(a+b+c-d == 7)
		cout << a << '+' << b << '+' << c << '-' << d << '=' << '7' << endl;
	if(a+b-c+d == 7)
		cout << a << '+' << b << '-' << c << '+' << d << '=' << '7' << endl;
	if(a+b-c-d == 7)
		cout << a << '+' << b << '-' << c << '-' << d << '=' << '7' << endl;
	if (a - b + c + d == 7)
		cout << a << '-' << b << '+' << c << '+' << d << '=' << '7' << endl;
	if (a - b + c - d == 7)
		cout << a << '-' << b << '+' << c << '-' << d << '=' << '7' << endl;
	if (a - b - c + d == 7)
		cout << a << '-' << b << '-' << c << '+' << d << '=' << '7' << endl;
	if (a - b - c - d == 7)
		cout << a << '-' << b << '-' << c << '-' << d << '=' << '7' << endl;
	return 0;
}