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;
struct St {
  int a, b, c;
  int add;
  St() : a(0), b(0), c(0), add(0) {}
  St(int _a, int _b, int _c, int _add) : a(_a), b(_b), c(_c), add(_add) {}
};
bool eq(int d, const string &s, int pos) {
  if (pos >= s.length() + 1) {
    if (d != -1) throw 0;
    return false;
  }
  if (pos == s.length()) return (d == -1);
  if (d < 0) throw 0;
  return d == s[pos] - '0';
}
const int MAXL = 7;
char buf[1024];
int d[MAXL + 2][MAXL + 2][MAXL + 2][2];
vector<string> ans[MAXL + 2][MAXL + 2][MAXL + 2][2];
int main() {
  while (scanf("%s", buf) >= 1) {
    string s1 = "", s2 = "", s3 = "";
    int mode = 2;
    for (int i = strlen(buf) - 1; i >= 0; i--) {
      if (buf[i] == '+' || buf[i] == '=')
        mode--;
      else {
        switch (mode) {
          case 0:
            s1 += buf[i];
            break;
          case 1:
            s2 += buf[i];
            break;
          case 2:
            s3 += buf[i];
            break;
        }
      }
    }
    int l1 = s1.length();
    int l2 = s2.length();
    int l3 = s3.length();
    deque<St> q;
    memset(d, 0x3F, sizeof d);
    d[0][0][0][0] = 0;
    ans[0][0][0][0] = vector<string>(3);
    q.push_back(St(0, 0, 0, 0));
    while (!q.empty()) {
      int a = q.front().a;
      int b = q.front().b;
      int c = q.front().c;
      int add = q.front().add;
      int v = d[a][b][c][add];
      bool pr = (a == 1 && b == 1 && c == 0 && add == 0);
      q.pop_front();
      for (int d1 = -1; d1 < 10; d1++)
        for (int d2 = -1; d2 < 10; d2++) {
          int res = max(d1, 0) + max(d2, 0) + add;
          int cd3 = res % 10;
          int nadd = res / 10;
          vector<int> d3s(1, cd3);
          if (d1 < 0 && d2 < 0 && !cd3) {
            d3s.push_back(-1);
          }
          for (int i = 0; i < d3s.size(); i++) {
            int d3 = d3s[i];
            try {
              int na = a + eq(d1, s1, a);
              int nb = b + eq(d2, s2, b);
              int nc = c + eq(d3, s3, c);
              int nv = v + 3 - (d1 == -1) - (d2 == -1) - (d3 == -1);
              if (d[na][nb][nc][nadd] > nv) {
                d[na][nb][nc][nadd] = nv;
                vector<string> &cans = ans[na][nb][nc][nadd] =
                    ans[a][b][c][add];
                if (d1 != -1) cans[0] = string(1, '0' + d1) + cans[0];
                if (d2 != -1) cans[1] = string(1, '0' + d2) + cans[1];
                if (d3 != -1) cans[2] = string(1, '0' + d3) + cans[2];
                q.push_back(St(na, nb, nc, nadd));
              }
            } catch (...) {
            }
          }
        }
    }
    fprintf(stderr, "%d\n", d[l1 + 1][l2 + 1][l3 + 1][0]);
    vector<string> cans = ans[l1 + 1][l2 + 1][l3 + 1][0];
    printf("%s+%s=%s\n", cans[0].c_str(), cans[1].c_str(), cans[2].c_str());
    break;
    break;
  }
  return 0;
}