#include<iostream>
#include<algorithm>
using namespace std;
int s(int *a, int n)
{
	int t = n;
	int i = 0, ans = a[0];
	for (i = 1; i < 4; i++)
	{
		if (n & 1)
			ans += a[i];
		else
			ans -= a[i];
		n >>= 1;
	}
	if (ans == 7)
		return t;
	else
		return s(a, n - 1);
}
int main()
{
	int a[4], i;
	for (i = 0; i < 4; i++)
		a[i] = (getchar() - '0');
	int n = 8;
	n = s(a, n);
	for (i = 0; i < 3; i++)
	{
		cout << a[i];
		if (n & 1)
			cout << "+";
		else
			cout << "-";
		n >>= 1;
	}
	cout<<a[3] << "=7"<<endl;
	return 0;
}