#include<bits/stdc++.h>
using namespace std;
string ans="";
string abcd;
void dfs(int pos,int sum,string s){
    if(pos==4){
        if(sum==7&&ans==""){
            ans=s.substr(1);
            ans+="=7";
        }
        return;
    }
    dfs(pos+1,sum+(abcd[pos]-'0'),s+"+"+abcd[pos]);
    dfs(pos+1,sum-(abcd[pos]-'0'),s+"-"+abcd[pos]);
}
int main(void){
    cin>>abcd;
    dfs(0,0,"");
    cout<<ans<<endl;
    return 0;
}
