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;
template <typename T>
bool get_int(T &x) {
  char t = getchar();
  bool neg = false;
  x = 0;
  for (; (t > '9' || t < '0') && t != '-' && t != EOF; t = getchar())
    ;
  if (t == '-') neg = true, t = getchar();
  if (t == EOF) return false;
  for (; t <= '9' && t >= '0'; t = getchar()) x = x * 10 + t - '0';
  if (neg) x = -x;
  return true;
}
template <typename T>
void print_int(T x) {
  if (x < 0) putchar('-'), x = -x;
  short a[20] = {}, sz = 0;
  while (x > 0) a[sz++] = x % 10, x /= 10;
  if (sz == 0) putchar('0');
  for (int i = sz - 1; i >= 0; i--) putchar('0' + a[i]);
}
const int inf = 0x3f3f3f3f;
const long long Linf = 1ll << 61;
const double pi = acos(-1.0);
int encode(int a, int b, int c, int aa, int bb, int cc, int add) {
  return a * 8 * 8 * 8 * 8 * 8 * 2 + b * 8 * 8 * 8 * 8 * 2 + c * 8 * 8 * 8 * 2 +
         aa * 8 * 8 * 2 + bb * 8 * 2 + cc * 2 + add;
}
void decode(int msk, int &a, int &b, int &c, int &aa, int &bb, int &cc,
            int &add) {
  add = msk % 2;
  msk /= 2;
  cc = msk % 8;
  msk /= 8;
  bb = msk % 8;
  msk /= 8;
  aa = msk % 8;
  msk /= 8;
  c = msk % 8;
  msk /= 8;
  b = msk % 8;
  msk /= 8;
  a = msk % 8;
  msk /= 8;
}
int dp[1000111], pre[1000111], prea[1000111], preb[1000111], prec[1000111];
string a, b, c;
int main() {
  string s;
  cin >> s;
  int p1 = 0;
  while (s[p1] != '+') p1++;
  int p2 = 0;
  while (s[p2] != '=') p2++;
  a = s.substr(0, p1);
  b = s.substr(p1 + 1, p2 - p1 - 1);
  c = s.substr(p2 + 1);
  reverse(a.begin(), a.end());
  reverse(b.begin(), b.end());
  reverse(c.begin(), c.end());
  memset(dp, 63, sizeof(dp));
  dp[0] = 0;
  int tmp = -1;
  for (int ta = 0; ta <= (int)a.size(); ta++)
    for (int tb = 0; tb <= (int)b.size(); tb++)
      for (int tc = 0; tc <= (int)c.size(); tc++) {
        for (int za = 0; za < 8; za++)
          for (int zb = 0; zb < 8; zb++)
            for (int zc = 0; zc < 8; zc++)
              for (int add = 0; add < 2; add++) {
                int msk = encode(ta, tb, tc, za, zb, zc, add);
                if (dp[msk] == inf) continue;
                if (ta == (int)a.size() && tb == (int)b.size() &&
                    tc == (int)c.size() && add == 0) {
                  if (tmp == -1 || dp[tmp] > dp[msk]) tmp = msk;
                  continue;
                }
                for (int i = 0; i < 10; i++)
                  for (int j = 0; j < 10; j++) {
                    int nta, ntb, ntc, nza = za + 1, nzb = zb + 1, nzc = zc + 1,
                                       nadd, k = i + j + add, w = 0;
                    nadd = k / 10;
                    k %= 10;
                    nta = ta + (ta < (int)a.size() && a[ta] == i + '0');
                    ntb = tb + (tb < (int)b.size() && b[tb] == j + '0');
                    ntc = tc + (tc < (int)c.size() && c[tc] == k + '0');
                    if (nta == ta && ntb == tb && ntc == tc) continue;
                    if (i) {
                      w += nza;
                      nza = 0;
                    }
                    if (j) {
                      w += nzb;
                      nzb = 0;
                    }
                    if (k) {
                      w += nzc;
                      nzc = 0;
                    }
                    if (nza > 6 || nzb > 6 || nzc > 6) continue;
                    int nmsk = encode(nta, ntb, ntc, nza, nzb, nzc, nadd);
                    if (dp[nmsk] > dp[msk] + w) {
                      dp[nmsk] = dp[msk] + w;
                      pre[nmsk] = msk;
                      prea[nmsk] = i;
                      preb[nmsk] = j;
                      prec[nmsk] = k;
                    }
                  }
              }
      }
  string aa, bb, cc;
  while (tmp) {
    aa = aa + char(prea[tmp] + '0');
    bb = bb + char(preb[tmp] + '0');
    cc = cc + char(prec[tmp] + '0');
    tmp = pre[tmp];
  }
  while (aa[0] == '0') aa = aa.substr(1);
  while (bb[0] == '0') bb = bb.substr(1);
  while (cc[0] == '0') cc = cc.substr(1);
  cout << aa << '+' << bb << '=' << cc << endl;
  return 0;
}