#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int(i)=0;i<(n);i++)
char p[4],op[3],a[3];

void dfs(int i, int sum){
  if(i==3){
    if(sum==7) REP(ii,3) a[ii]=op[ii];
    return;
  }
  op[i]='+';
  dfs(i+1,sum+(p[i+1]-'0'));
  op[i]='-';
  dfs(i+1,sum-(p[i+1]-'0'));        
}

int main(){
  REP(i,4) cin>>p[i];
  dfs(0,p[0]-'0');
  REP(i,3) cout<<p[i]<<a[i];
  cout<<p[3]<<"=7"<<endl;
}