#define _GLIBCXX_DEBUG
#include <iostream>
#include <string>
using namespace std;

int main(void){
    string s;
    cin >> s;
    for(int bit=0; bit<(1<<3); bit++){
        int svn = s[0]-'0';
        for(int i=0; i<3; i++){
            if(bit & (1<<i)) svn += s[i+1]-'0';
            else svn -= s[i+1]-'0';
        }
        if(svn == 7){
            for(int i=0; i<3; i++){
                if(bit & (1<<i)) s.insert(2*i+1, "+");
                else s.insert(2*i+1, "-");
            }
            s += "=7";
            goto SKIP;
        }
    }
SKIP:
    cout << s << '\n';
    return 0;
}
#include <bits/stdc++.h>

using namespace std;

#define ll long long

void solve() {
	string s;
	cin >> s;
	int a = s[0] - '0';
	int b = s[1] - '0';
	int c = s[2] - '0';
	int d = s[3] - '0';
	if (a+b+c+d == 7) cout << a << "+" << b << "+" << c << "+" << d << "=7";	
	else if (a+b+c-d == 7) cout << a << "+" << b << "+" << c << "-" << d << "=7";
	else if (a+b-c-d == 7) cout << a << "+" << b << "-" << c << "-" << d << "=7";
	else if (a-b-c-d == 7) cout << a << "-" << b << "-" << c << "-" << d << "=7";
	else if (a+b-c+d == 7) cout << a << "+" << b << "-" << c << "+" << d << "=7";
	else if (a-b-c+d == 7) cout << a << "-" << b << "-" << c << "+" << d << "=7";
	else if (a-b+c+d == 7) cout << a << "-" << b << "+" << c << "+" << d << "=7";
	else if (a-b+c-d == 7) cout << a << "-" << b << "+" << c << "-" << d << "=7";
}

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);

	int t = 1, i = 1;
	//cin >> t;
	while(t--) {
		//cout << "Case #" << i << ": ";
		solve();
		//i++;
	}
	return 0;
}

