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;
int now[15][3], ans[15][3], nA, nB, nC, minN = 12, cnt, t[13];
void dfs(int a, int b, int c, int num, int jw, int cou, bool ifA, bool ifB) {
  if (!a && !b && !c && !jw) {
    minN = num;
    cnt = cou;
    memcpy(ans, now, sizeof(now));
    return;
  }
  if (a % 10 + b % 10 - c % 10 + jw == 0 && c)
    dfs(a / 10, b / 10, c / 10, num, 0, cou + 1, a ? 0 : 1, b ? 0 : 1);
  else if (a % 10 + b % 10 - c % 10 + jw == 10 && c)
    dfs(a / 10, b / 10, c / 10, num, 1, cou + 1, a ? 0 : 1, b ? 0 : 1);
  else {
    if (minN - ++num <= 0) return;
    now[num][2] = ++cou;
    if (!ifA && c) {
      now[num][0] = 1;
      now[num][1] = (c % 10 - b % 10 - jw + 10) % 10;
      bool f = ifB;
      if (!b) ifB = 1;
      dfs(a, b / 10, c / 10, num, (now[num][1] + b % 10 + jw - c % 10) / 10,
          cou, ifA, ifB);
      ifB = f;
    }
    if (!ifB && c) {
      now[num][0] = 2;
      now[num][1] = (c % 10 - a % 10 + 10 - jw) % 10;
      bool f = ifA;
      if (a == 0) ifA = 1;
      dfs(a / 10, b, c / 10, num, (now[num][1] + a % 10 + jw - c % 10) / 10,
          cou, ifA, ifB);
      ifA = f;
    }
    now[num][0] = 3;
    now[num][1] = (a % 10 + b % 10 + jw) % 10;
    if (!a) ifA = 1;
    if (!b) ifB = 1;
    dfs(a / 10, b / 10, c, num, (a % 10 + b % 10 + jw - now[num][1]) / 10, cou,
        ifA, ifB);
  }
}
int main() {
  int a, b, c;
  bool f;
  scanf("%d+%d=%d", &a, &b, &c);
  dfs(a, b, c, 0, 0, 0, 0, 0);
  int p = 1;
  while (p <= minN && ans[p][0] - 1) p++;
  for (int i = 1; i <= cnt; i++)
    if (p <= minN && ans[p][2] == i) {
      t[i] = ans[p++][1];
      while (p <= minN && ans[p][0] - 1) p++;
    } else {
      t[i] = a % 10;
      a /= 10;
    }
  f = 0;
  for (int i = cnt; i; i--)
    if (f || t[i]) {
      putchar(t[i] + '0');
      f = 1;
    }
  putchar('+');
  p = 1;
  while (p <= minN && ans[p][0] - 2) p++;
  for (int i = 1; i <= cnt; i++)
    if (p <= minN && ans[p][2] == i) {
      t[i] = ans[p++][1];
      while (p <= minN && ans[p][0] - 2) p++;
    } else {
      t[i] = b % 10;
      b /= 10;
    }
  f = 0;
  for (int i = cnt; i; i--)
    if (f || t[i]) {
      putchar(t[i] + '0');
      f = 1;
    }
  putchar('=');
  p = 1;
  while (p <= minN && ans[p][0] - 3) p++;
  for (int i = 1; i <= cnt; i++)
    if (p <= minN && ans[p][2] == i) {
      t[i] = ans[p][1];
      p++;
      while (p <= minN && ans[p][0] - 3) p++;
    } else {
      t[i] = c % 10;
      c /= 10;
    }
  f = 0;
  for (int i = cnt; i; i--)
    if (f || t[i]) {
      putchar(t[i] + '0');
      f = 1;
    }
  return 0;
}