#include<bits/stdc++.h>
using namespace std;
#define r(i,n) for(int i=0;i<n;i++)
int a[3];
string s;
char c[]={'+','-'};
void dfs(int x,int d){
  if(d==3){
    if(x==7){
      string t;
      r(i,3)t+=c[a[i]];
      cout<<s[0];
      r(i,3)cout<<t[i]<<s[i+1];
      cout<<"=7"<<endl;
      exit(0);
    }
  }
  else{
    a[d]=0;
    dfs(x+s[d+1]-'0',d+1);
    a[d]=1;
    dfs(x-(s[d+1]-'0'),d+1);
  }
}
int main(){
  cin>>s;
  dfs(s[0]-'0',0);
}