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;
char buf[110];
int dp[21][2][21][21][21];
int a[21], b[21], c[21];
int n;
int alen, blen, clen;
struct state {
  int l, c, x, y, z, xx, yy, zz;
} lst[21][2][21][21][21];
void solve(int la, int lb, int lc) {
  int ln = max(max(la, lb), lc);
  for (int i = 0; i <= ln; i++) {
    for (int c = 0; c < 2; c++) {
      for (int x = 0; x <= alen; x++) {
        for (int y = 0; y <= blen; y++) {
          for (int z = 0; z <= clen; z++)
            dp[i][c][x][y][z] = false,
            lst[i][c][x][y][z] = (state){0, 0, 0, 0, 0, 0, 0, 0};
        }
      }
    }
  }
  dp[0][0][0][0][0] = true;
  for (int i = 0; i < ln; i++) {
    for (int C = 0; C < 2; C++) {
      for (int x = 0; x <= alen; x++) {
        for (int y = 0; y <= blen; y++) {
          for (int z = 0; z <= clen; z++) {
            if (!dp[i][C][x][y][z]) continue;
            for (int xx = 0; (i < la || !xx) && xx < 10; xx++) {
              for (int yy = 0; (i < lb || !yy) && yy < 10; yy++) {
                int zz = xx + yy + C;
                int cc = 0;
                if (zz >= 10) zz -= 10, cc = 1;
                if (zz && i >= lc) continue;
                int nx = x + (x < alen && xx == a[x]),
                    ny = y + (y < blen && yy == b[y]),
                    nz = z + (z < clen && zz == c[z]);
                dp[i + 1][cc][nx][ny][nz] = true;
                lst[i + 1][cc][nx][ny][nz] = (state){i, C, x, y, z, xx, yy, zz};
              }
            }
          }
        }
      }
    }
  }
  if (dp[ln][0][alen][blen][clen]) {
    int L = ln, cc = 0, A = alen, B = blen, C = clen;
    vector<int> as, bs, cs;
    while (L) {
      state tmp = lst[L][cc][A][B][C];
      as.push_back(tmp.xx);
      bs.push_back(tmp.yy);
      cs.push_back(tmp.zz);
      L = tmp.l;
      cc = tmp.c;
      A = tmp.x;
      B = tmp.y;
      C = tmp.z;
    }
    for (int i = ln - la; i < as.size(); i++) printf("%d", as[i]);
    printf("+");
    for (int i = ln - lb; i < bs.size(); i++) printf("%d", bs[i]);
    printf("=");
    for (int i = ln - lc; i < cs.size(); i++) printf("%d", cs[i]);
    exit(0);
  }
}
int main() {
  scanf("%s", buf);
  n = strlen(buf);
  int k = 0;
  while (k < n && buf[k] != '+') {
    a[alen++] = buf[k++] - '0';
  }
  reverse(a, a + alen);
  k++;
  while (k < n && buf[k] != '=') {
    b[blen++] = buf[k++] - '0';
  }
  reverse(b, b + blen);
  k++;
  while (k < n) {
    c[clen++] = buf[k++] - '0';
  }
  reverse(c, c + clen);
  for (int sum = 0;; sum++) {
    for (int i = 1; i <= sum - 2 && i <= 12; i++) {
      for (int j = 1; i + j <= sum - 1 && j <= 12; j++) {
        if (sum - i - j > 12) continue;
        solve(i, j, sum - i - j);
      }
    }
  }
  return 0;
}