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

int main() {
  cin>>N;
  calc(0,0,N);
  cout<<ans<<endl;
  return 0;
}

