#include<bits/stdc++.h>
using namespace std;
int a[4];
char ans[5];
bool dfs(int i,int sum);
int main(){
  string temp;
  cin >> temp;
  for(int i=0;i<4;i++){
    a[i] = temp[i]-'0';
  }
  dfs(1,a[0]);
  cout << a[0] << ans[1] << a[1] << ans[2] << a[2] << ans[3] << a[3] << "=7";
}
bool dfs(int i,int sum){
  if(i==4){
    return sum==7;
  }else if(dfs(i+1,sum+a[i])){
    ans[i] = '+';
    return true;
  }else if(dfs(i+1,sum-a[i])){
    ans[i] = '-';
    return true;
  }else{
    return false;
  }
}
