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;
inline void Fail() {
  printf("0");
  exit(0);
}
const int maxn = 20;
string s, a, b, c;
int dp[maxn][maxn][maxn][8];
pair<long long, long long> res[maxn][maxn][maxn][8];
long long t10[maxn];
class state {
 public:
  int i, j, k, tp, len, pos;
  state() {}
  state(int _i, int _j, int _k, int _tp, int _len, int _pos) {
    i = _i;
    j = _j;
    k = _k;
    tp = _tp;
    len = _len;
    pos = _pos;
  }
  bool operator<(const state &other) const { return len > other.len; }
};
priority_queue<state> q;
void upd(state y, pair<long long, long long> cur, int pp, int qq) {
  if (dp[y.i][y.j][y.k][y.tp] > y.len) {
    dp[y.i][y.j][y.k][y.tp] = y.len;
    res[y.i][y.j][y.k][y.tp] = make_pair(cur.first + t10[y.pos - 1] * pp,
                                         cur.second + t10[y.pos - 1] * qq);
    q.push(y);
  }
}
int main() {
  cin >> s;
  int pos = 0;
  while (s[pos] != '+') a += s[pos], pos++;
  pos++;
  while (s[pos] != '=') b += s[pos], pos++;
  pos++;
  while (pos < s.size()) c += s[pos], pos++;
  memset(dp, 32, sizeof(dp));
  t10[0] = 1;
  for (int(i) = 1; (i) <= 18; i++) t10[i] = t10[i - 1] * 10LL;
  int A = a.size(), B = b.size(), C = c.size();
  dp[A][B][C][0] = 0;
  q.push(state(A, B, C, 0, 0, 0));
  while (!q.empty()) {
    state x = q.top();
    q.pop();
    if (dp[x.i][x.j][x.k][x.tp] != x.len) continue;
    pair<long long, long long> cur = res[x.i][x.j][x.k][x.tp];
    if (!(x.tp & 6)) {
      for (int(pp) = 0; (pp) < 10; pp++)
        for (int(qq) = 0; (qq) < 10; qq++) {
          state y = x;
          int rr = pp + qq + x.tp;
          if (rr >= 10)
            y.tp = 1, rr -= 10;
          else
            y.tp = 0;
          if (x.i > 0 && a[x.i - 1] - '0' == pp) y.i--;
          if (x.j > 0 && b[x.j - 1] - '0' == qq) y.j--;
          if (x.k > 0 && c[x.k - 1] - '0' == rr) y.k--;
          y.len += 3;
          y.pos++;
          upd(y, cur, pp, qq);
        }
    }
    if (x.i == 0 && !(x.tp & 4)) {
      for (int(pp) = 0; (pp) < 10; pp++) {
        state y = x;
        int rr = pp + (x.tp & 1 ? 1 : 0);
        if (rr >= 10)
          y.tp |= 1, rr -= 10;
        else
          y.tp >>= 1, y.tp <<= 1;
        if (x.j > 0 && b[x.j - 1] - '0' == pp) y.j--;
        if (x.k > 0 && c[x.k - 1] - '0' == rr) y.k--;
        y.len += 2;
        y.pos++;
        y.tp |= 2;
        upd(y, cur, 0, pp);
      }
    }
    if (x.j == 0 && !(x.tp & 2)) {
      for (int(pp) = 0; (pp) < 10; pp++) {
        state y = x;
        int rr = pp + (x.tp & 1 ? 1 : 0);
        if (rr >= 10)
          y.tp |= 1, rr -= 10;
        else
          y.tp >>= 1, y.tp <<= 1;
        if (x.i > 0 && a[x.i - 1] - '0' == pp) y.i--;
        if (x.k > 0 && c[x.k - 1] - '0' == rr) y.k--;
        y.len += 2;
        y.pos++;
        y.tp |= 4;
        upd(y, cur, pp, 0);
      }
    }
    if (x.i == 0 && x.j == 0) {
      state y = x;
      int rr = x.tp & 1 ? 1 : 0;
      y.tp >>= 1;
      y.tp <<= 1;
      if (x.k > 0 && c[x.k - 1] - '0' == rr) y.k--;
      y.pos++;
      y.len++;
      y.tp |= 6;
      upd(y, cur, 0, 0);
    }
  }
  int Ans = 1e9;
  pair<long long, long long> ans;
  for (int(i) = 0; (i) < 8; i++)
    if (!(i & 1) && dp[0][0][0][i] < Ans) {
      Ans = dp[0][0][0][i];
      ans = res[0][0][0][i];
    }
  cout << ans.first << "+" << ans.second << "=" << ans.first + ans.second;
  return 0;
}