#include <bits/stdc++.h>
using namespace std;
int a,b,c,d,i,s;
int main() {
  cin>>a;
  d=a%10;
  c=a/10%10;
  b=a/100%10;
  a=a/1000%10;
  for(i=0;;i++){
    s=a;
    if(i/4==0)s+=b;
    else s-=b;
    if(i%4==0||i%4==1)s+=c;
    else s-=c;
    if(i%2==0)s+=d;
    else s-=d;
    if(s==7)break;
  }
  cout<<a;
  if(i/4==0) cout<<'+';
  else cout<<'-';
  cout<<b;
  if(i%4==0||i%4==1)cout<<'+';
  else cout<<'-';
  cout<<c;
  if(i%2==0)cout<<'+';
  else cout<<'-';
  cout<<d<<'='<<7<<endl;
}