#include <iostream>
#include <vector>
using namespace std;
string s;
vector<char> hugo;
bool dfs(int n,int nw){
  if(n == 4){
    if(nw == 7){
      cout << s[0] << hugo[1] << s[1] << hugo[2] << s[2] << hugo[3] << s[3] << "=7" << endl;
      return true;
    }
    return false;
  }
  hugo.push_back('+');
  if(dfs(n+1,nw+(s[n]-'0')))return true;
  hugo.pop_back();
  hugo.push_back('-');
  if(dfs(n+1,nw-(s[n]-'0')))return true;
  hugo.pop_back();
  return false;
}
int main(){
  cin>>s;
  dfs(0,0);
}