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>
#pragma warning(disable : 4996)
void dp(unsigned long long a_sub, unsigned long long b_sub,
        unsigned long long c_sub, int index, unsigned long long a,
        unsigned long long b, unsigned long long c);
unsigned long long ten_multi(int mul);
int total_cnt = 0;
unsigned long long a_, b_, c_;
int main(void) {
  unsigned long long a, b, c;
  scanf("%llu+%llu=%llu", &a, &b, &c);
  a_ = a;
  b_ = b;
  c_ = c;
  dp(a, b, c, 1, a, b, c);
  printf("%llu+%llu=%llu", a_, b_, c_);
}
int num_length(unsigned long long n) {
  int i = 0;
  while (n > ten_multi(i)) i++;
  return i;
}
void change_value(unsigned long long a, unsigned long long b,
                  unsigned long long c) {
  int cnt = num_length(a) + num_length(b) + num_length(c);
  if (a + b != c) return;
  if (total_cnt == 0) {
    a_ = a;
    b_ = b;
    c_ = c;
    total_cnt = cnt;
  } else if (total_cnt > cnt) {
    a_ = a;
    b_ = b;
    c_ = c;
    total_cnt = cnt;
  }
}
unsigned long long ten_multi(int mul) {
  int n = 1;
  int i;
  for (i = 2; i <= mul; i++) n *= 10;
  return n;
}
void dp(unsigned long long a_sub, unsigned long long b_sub,
        unsigned long long c_sub, int index, unsigned long long a,
        unsigned long long b, unsigned long long c) {
  if (total_cnt > 0 &&
      total_cnt < num_length(a) + num_length(b) + num_length(c))
    return;
  if ((a_sub == 0 && b_sub == 0 && c_sub == 0) || (a + b == c))
    change_value(a, b, c);
  else if (a_sub == 0 && b_sub == 0) {
    if (num_length(a) > num_length(b))
      change_value(a + c_sub * ten_multi(index), b, c);
    else
      change_value(a, b + c_sub * ten_multi(index), c);
  } else if ((a_sub == 0 || b_sub == 0) && c_sub == 0)
    change_value(a, b, c + (a_sub + b_sub) * ten_multi(index));
  else {
    int _a = a_sub % 10, _b = b_sub % 10, _c = c_sub % 10;
    if (((_a + _b) % 10 == _c) && (_a % 10 + _b % 10 > 9)) {
      dp(a_sub / 10 + 1, b_sub / 10, c_sub / 10, index + 1, a, b, c);
      dp(a_sub / 10, b_sub / 10 + 1, c_sub / 10, index + 1, a, b, c);
    } else if ((_a + _b) % 10 == _c)
      dp(a_sub / 10, b_sub / 10, c_sub / 10, index + 1, a, b, c);
    if (_a + _b > 9 && num_length(c) < 12) {
      dp(a_sub / 10 + 1, b_sub / 10, c_sub, index + 1, a, b,
         c_sub * ten_multi(index + 1) + (_a + _b) % 10 * ten_multi(index) +
             c % ten_multi(index));
      dp(a_sub / 10, b_sub / 10 + 1, c_sub, index + 1, a, b,
         c_sub * ten_multi(index + 1) + (_a + _b) % 10 * ten_multi(index) +
             c % ten_multi(index));
    } else if (num_length(c) < 12)
      dp(a_sub / 10, b_sub / 10, c_sub, index + 1, a, b,
         c_sub * ten_multi(index + 1) + (_a + _b) % 10 * ten_multi(index) +
             c % ten_multi(index));
    if (_c < _a && num_length(b) < 12) {
      dp(a_sub / 10 + 1, b_sub, c_sub / 10, index + 1, a,
         b_sub * ten_multi(index + 1) + (_c - _a + 10) * ten_multi(index) +
             b % ten_multi(index),
         c);
      dp(a_sub / 10, b_sub + 1, c_sub / 10, index + 1, a,
         b_sub * ten_multi(index + 1) + (_c - _a + 10) * ten_multi(index) +
             b % ten_multi(index),
         c);
    } else if (num_length(b) < 12)
      dp(a_sub / 10, b_sub, c_sub / 10, index + 1, a,
         b_sub * ten_multi(index + 1) + (_c - _a) * ten_multi(index) +
             b % ten_multi(index),
         c);
    if (_c < _b && num_length(a) < 12) {
      dp(a_sub + 1, b_sub / 10, c_sub / 10, index + 1,
         a_sub * ten_multi(index + 1) + (_c - _b + 10) * ten_multi(index) +
             a % ten_multi(index),
         b, c);
      dp(a_sub, b_sub / 10 + 1, c_sub / 10, index + 1,
         a_sub * ten_multi(index + 1) + (_c - _b + 10) * ten_multi(index) +
             a % ten_multi(index),
         b, c);
    } else if (num_length(a) < 12)
      dp(a_sub, b_sub / 10, c_sub / 10, index + 1,
         a_sub * ten_multi(index + 1) + (_c - _b) * ten_multi(index) +
             a % ten_multi(index),
         b, c);
    if (_c == 0 && num_length(a) < 12 && num_length(b) < 12)
      dp(a_sub, b_sub, c_sub / 10, index + 1,
         a_sub * ten_multi(index + 1) + a % ten_multi(index),
         b_sub * ten_multi(index + 1) + b % ten_multi(index), c);
  }
}