Problem: One day Vasya was solving arithmetical problems. He wrote down an expression a + b = c in his notebook. When the teacher checked Vasya's work it turned out that Vasya had solved the problem incorrectly. Now Vasya tries to find excuses. He says that he simply forgot to write down several digits in numbers a, b and c, but he can't remember what numbers they actually were. Help Vasya, find such numbers x, y and z, with which the following conditions are met: 

  * x + y = z, 
  * from the expression x + y = z several digits can be erased in such a way that the result will be a + b = c, 
  * the expression x + y = z should have the minimal length. 

Input

The first and only input line contains the expression a + b = c (1 ≤ a, b, c ≤ 106, a, b and c don't contain leading zeroes) which is the expression Vasya wrote down.

Output

Print the correct expression x + y = z (x, y and z are non-negative numbers without leading zeroes). The expression a + b = c must be met in x + y = z as a subsequence. The printed solution should have the minimal possible number of characters. If there are several such solutions, you can print any of them.

Examples

Input

2+4=5


Output

21+4=25


Input

1+1=3


Output

1+31=32


Input

1+1=2


Output

1+1=2

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/stack:16000000")
#pragma warning(disable : 4996)
const int inf = 1 << 25;
const double eps = 1e-9;
int NA, NB, NC;
inline int len(long long x, int nx) {
  int ret = 0;
  do {
    ++ret;
    x /= 10;
  } while (x);
  return max(ret, nx);
}
bool gt(const pair<long long, long long>& X,
        const pair<long long, long long>& Y, int na, int nb, int nc) {
  return len(X.first, na) + len(X.second, nb) + len(X.first + X.second, nc) >
         len(Y.first, na) + len(Y.second, nb) + len(Y.first + Y.second, nc);
}
int main() {
  string exp;
  cin >> exp;
  for (int i = (0); i < ((int)exp.size()); ++i)
    if (!isdigit(exp[i])) exp[i] = ' ';
  string a, b, c;
  {
    stringstream ss(exp);
    ss >> a >> b >> c;
    reverse(a.begin(), a.end());
    reverse(b.begin(), b.end());
    reverse(c.begin(), c.end());
  }
  pair<long long, long long> p[20][8][8][8][2];
  memset((p), (-1), sizeof(p));
  p[0][0][0][0][0] = pair<long long, long long>(0, 0);
  NA = a.size();
  NB = b.size();
  NC = c.size();
  a += "#";
  b += "#";
  c += "#";
  int nmin = -1;
  int rmin = -1;
  long long deg10[20];
  deg10[0] = 1;
  for (int i = (1); i < (20); ++i) deg10[i] = deg10[i - 1] * 10;
  for (int n = (0); n < (19); ++n)
    for (int na = (0); na < (NA + 1); ++na)
      for (int nb = (0); nb < (NB + 1); ++nb)
        for (int nc = (0); nc < (NC + 1); ++nc)
          for (int r = (0); r < (2); ++r)
            if (p[n][na][nb][nc][r].first != -1) {
              if (nmin == -1 && na == NA && nb == NB && nc == NC) {
                nmin = n;
                rmin = r;
              }
              long long ca = p[n][na][nb][nc][r].first,
                        cb = p[n][na][nb][nc][r].second;
              for (int da = (0); da < (10); ++da)
                for (int db = (0); db < (10); ++db) {
                  int dc = (da + db + r) % 10;
                  int napos = na, nbpos = nb, ncpos = nc;
                  if (na < NA && da == a[na] - '0') napos++;
                  if (nb < NB && db == b[nb] - '0') nbpos++;
                  if (nc < NC && dc == c[nc] - '0') ncpos++;
                  if (napos == na && nbpos == nb && ncpos == nc) continue;
                  int nr = (da + db + r) / 10;
                  pair<long long, long long>& nxt =
                      p[n + 1][napos][nbpos][ncpos][nr];
                  long long nxta = ca + da * deg10[n],
                            nxtb = cb + db * deg10[n];
                  if (nxt.first == -1 ||
                      gt(nxt, pair<long long, long long>(nxta, nxtb), napos,
                         nbpos, ncpos))
                    nxt = pair<long long, long long>(nxta, nxtb);
                }
            }
  string x, y;
  long long xa = p[nmin][NA][NB][NC][rmin].first;
  long long xb = p[nmin][NA][NB][NC][rmin].second;
  cout << xa << "+" << xb << "=" << xa + xb << endl;
  return 0;
}