void main(){
  import std.stdio, std.string, std.conv, std.algorithm;

  auto n=readln.chomp.to!(int);
  
  foreach(b; 0..(1<<3)){
    auto tmp=n, sum=0;
    foreach(i; 0..3){
      if((b>>i)&1) sum+=tmp%10;
      else sum-=tmp%10;
      tmp/=10;
    }
    sum+=tmp;
    if(sum==7){
      char[] s;
      foreach(i; 0..3){
        s~=(n%10)+'0';
        s~=(b>>i)&1 ? '+' : '-';
        n/=10;
      }
      s~=n+'0';
      reverse(s);
      writeln(s~"=7"); return;
    }
  }

  assert(false);
}

void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv;
  auto l=readln.split;
  assert(l.length==x.length);
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}