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;
string a, b, c;
int dp[15][15][15][2];
int path[15][15][15][2], car[15][15][15][2], ai[15][15][15][2],
    bi[15][15][15][2];
int d[8][3] = {{-1, -1, -1}, {-1, -1, 0}, {-1, 0, -1}, {-1, 0, 0},
               {0, -1, -1},  {0, -1, 0},  {0, 0, -1},  {0, 0, 0}};
int solve(int i, int j, int k, int cr) {
  if (!i && !j && !k) {
    if (!cr) return 0;
    return 1;
  }
  int &DP = dp[i][j][k][cr];
  if (DP != -1) return DP;
  DP = 1000;
  if (i > 0 && j > 0) {
    int x = a[i - 1] + b[j - 1] - 2 * '0' + cr;
    int y = x / 10;
    x %= 10;
    if (k > 0 && (c[k - 1] - '0') == x) {
      int l = solve(i - 1, j - 1, k - 1, y);
      if (l < DP) {
        DP = l;
        path[i][j][k][cr] = 0;
        car[i][j][k][cr] = y;
      }
    }
    int l = solve(i - 1, j - 1, k, y) + 1;
    if (l < DP) {
      DP = l;
      path[i][j][k][cr] = 1;
      car[i][j][k][cr] = y;
    }
  }
  if (i > 0) {
    for (int p = 0; p < 10; p++) {
      int inc = 1;
      if (!j && !p)
        inc = 0;
      else if (!j)
        break;
      int x = a[i - 1] - '0' + p + cr;
      int y = x / 10;
      x %= 10;
      if (k > 0 && c[k - 1] - '0' == x) {
        int l = solve(i - 1, j, k - 1, y) + inc;
        if (DP > l) {
          DP = l;
          path[i][j][k][cr] = 2;
          car[i][j][k][cr] = y;
          bi[i][j][k][cr] = p;
        }
      }
      int l = solve(i - 1, j, k, y) + 1 + inc;
      if (DP > l) {
        path[i][j][k][cr] = 3;
        car[i][j][k][cr] = y;
        bi[i][j][k][cr] = p;
        DP = l;
      }
    }
  }
  if (j > 0) {
    for (int p = 0; p < 10; p++) {
      int inc = 1;
      if (!i && !p)
        inc = 0;
      else if (!i)
        break;
      int x = b[j - 1] - '0' + p + cr;
      int y = x / 10;
      x %= 10;
      if (k > 0 && c[k - 1] - '0' == x) {
        int l = solve(i, j - 1, k - 1, y) + inc;
        if (DP > l) {
          DP = l;
          ai[i][j][k][cr] = p;
          path[i][j][k][cr] = 4;
          car[i][j][k][cr] = y;
        }
      }
      int l = solve(i, j - 1, k, y) + inc + 1;
      if (DP > l) {
        DP = l;
        path[i][j][k][cr] = 5;
        car[i][j][k][cr] = y;
        ai[i][j][k][cr] = p;
      }
    }
  }
  for (int p1 = 0; p1 < 10; p1++) {
    int inc = 2;
    if (!i && !p1)
      inc--;
    else if (!i)
      break;
    for (int p2 = 0; p2 < 10; p2++) {
      if (!j && !p2)
        inc--;
      else if (!j)
        break;
      int x = p1 + p2 + cr;
      int y = x / 10;
      x %= 10;
      if (k > 0 && c[k - 1] - '0' == x) {
        int l = solve(i, j, k - 1, y) + inc;
        if (DP > l) {
          DP = l;
          path[i][j][k][cr] = 6;
          ai[i][j][k][cr] = p1;
          bi[i][j][k][cr] = p2;
          car[i][j][k][cr] = y;
        }
      }
      int l = solve(i, j, k, y) + inc + 1;
      if (DP > l) {
        DP = l;
        path[i][j][k][cr] = 7;
        car[i][j][k][cr] = y;
        ai[i][j][k][cr] = p1;
        bi[i][j][k][cr] = p2;
      }
      if (!j && !p2) inc++;
    }
  }
  return DP;
}
void create(int i, int j, int k, int cr) {
  if (!i && !j && !k) {
    if (cr) c.insert(c.begin() + k, '1');
    return;
  }
  int l = path[i][j][k][cr];
  int x = 0, y = 0;
  if (i) x = a[i - 1] - '0';
  if (j) y = b[j - 1] - '0';
  if (!d[l][0]) {
    x = ai[i][j][k][cr];
    a.insert(a.begin() + i, ai[i][j][k][cr] + '0');
  }
  if (!d[l][1]) {
    y = bi[i][j][k][cr];
    b.insert(b.begin() + j, bi[i][j][k][cr] + '0');
  }
  if (!d[l][2]) c.insert(c.begin() + k, ((x + y + cr) % 10) + '0');
  create(i + d[l][0], j + d[l][1], k + d[l][2], car[i][j][k][cr]);
}
int main() {
  string x;
  cin >> x;
  a = b = c = "0";
  int p = 0;
  while (x[p] != '+') a.push_back(x[p++]);
  p++;
  while (x[p] != '=') b.push_back(x[p++]);
  p++;
  while (p < x.length()) c.push_back(x[p++]);
  memset(dp, -1, sizeof dp);
  int l = solve(a.length(), b.length(), c.length(), 0);
  create(a.length(), b.length(), c.length(), 0);
  while (a.length() > 1 && a[0] == '0') a.erase(a.begin());
  while (b.length() > 1 && b[0] == '0') b.erase(b.begin());
  while (c.length() > 1 && c[0] == '0') c.erase(c.begin());
  cout << a << "+" << b << "=" << c << endl;
  return 0;
}