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;
const int INF = 0x3fffffff;
const int SINF = 0x7fffffff;
const long long LINF = 0x3fffffffffffffff;
const long long SLINF = 0x7fffffffffffffff;
const int MAXN = 21;
const int MAXA = 10;
int ia, ib, ic;
int a[MAXN], b[MAXN], c[MAXN], il;
int aa[MAXN], ab[MAXN], ac[MAXN], ala, alb, alc, mini;
void init();
void input();
void work();
void dfs(int ni, int la, int lb, int lc, int pv);
void ins(int a[], int n, int p, int x);
void del(int a[], int n, int p);
int stillneed(int la, int lb, int lc);
int decode(int a[], int x);
long long encode(int a[], int n);
int main() {
  init();
  input();
  work();
}
void init() { ios::sync_with_stdio(false); }
void input() { scanf("%d+%d=%d", &ia, &ib, &ic); }
void work() {
  int la = decode(a, ia), lb = decode(b, ib), lc = decode(c, ic);
  il = la + lb + lc;
  mini = MAXA;
  dfs(0, la, lb, lc, 0);
  printf("%I64d+%I64d=%I64d\n", encode(aa, ala), encode(ab, alb),
         encode(ac, alc));
}
void dfs(int ni, int la, int lb, int lc, int pv) {
  if (ni > la && ni > lb && ni > lc) {
    if (!pv) {
      if (la + lb + lc - il < mini) {
        mini = la + lb + lc - il;
        ala = la, alb = lb, alc = lc;
        memcpy(aa, a, sizeof(a));
        memcpy(ab, b, sizeof(b));
        memcpy(ac, c, sizeof(c));
      }
    }
    return;
  }
  if ((la + lb + lc - il) + stillneed(la, lb, lc) >= mini) return;
  if ((a[ni] + b[ni] + pv - c[ni]) % 10 == 0) {
    dfs(ni + 1, la, lb, lc, (a[ni] + b[ni] + pv - c[ni]) / 10);
    return;
  }
  int tl;
  ins(c, lc, ni, (a[ni] + b[ni] + pv) % 10);
  tl = (((lc) > (ni)) ? (lc) : (ni)) + 1;
  dfs(ni + 1, la, lb, tl, (a[ni] + b[ni] + pv - c[ni]) / 10);
  del(c, tl, ni);
  ins(b, lb, ni, (c[ni] - a[ni] - pv + 10) % 10);
  tl = (((lb) > (ni)) ? (lb) : (ni)) + 1;
  dfs(ni + 1, la, tl, lc, (a[ni] + b[ni] + pv - c[ni]) / 10);
  del(b, tl, ni);
  ins(a, la, ni, (c[ni] - b[ni] - pv + 10) % 10);
  tl = (((la) > (ni)) ? (la) : (ni)) + 1;
  dfs(ni + 1, tl, lb, lc, (a[ni] + b[ni] + pv - c[ni]) / 10);
  del(a, tl, ni);
  if (a[ni] ^ 0) {
    ins(a, la, ni, 0);
    tl = (((la) > (ni)) ? (la) : (ni)) + 1;
    dfs(ni, tl, lb, lc, pv);
    del(a, tl, ni);
  }
  if (a[ni] ^ 9) {
    ins(a, la, ni, 9);
    tl = (((la) > (ni)) ? (la) : (ni)) + 1;
    dfs(ni, tl, lb, lc, pv);
    del(a, tl, ni);
  }
}
void ins(int a[], int n, int p, int x) {
  for (int i = n - 1; i >= p; --i) a[i + 1] = a[i];
  a[p] = x;
}
void del(int a[], int n, int p) {
  for (int i = p; i < n - 1; ++i) a[i] = a[i + 1];
  a[n - 1] = 0;
}
int stillneed(int la, int lb, int lc) {
  int ll = (((la) > (lb)) ? (la) : (lb));
  if (ll < lc)
    return lc - ll - 1;
  else
    return ll - lc;
}
int decode(int a[], int x) {
  int n = 0;
  for (; x; x /= 10, ++n) a[n] = x % 10;
  return n;
}
long long encode(int a[], int n) {
  long long ans = 0;
  for (int i = n - 1; i >= 0; --i) ans = ans * 10 + a[i];
  return ans;
}