#include <bits/stdc++.h>
using namespace std;
int main() {
  string a, b, c, aux;
  int u, d, t;
  cin >> aux;
  string temp = "";
  for (int i = 0; i < aux.size(); ++i) {
    if (aux[i] == '+') {
      a = temp;
      temp = "";
    } else if (aux[i] == '=') {
      b = temp;
      temp = "";
    } else
      temp += aux[i];
  }
  c = temp;
  u = a.size();
  d = b.size();
  t = c.size();
  if (u + d == t)
    cout << a << "+" << b << "=" << c << endl;
  else if (u + d + 1 == t - 1) {
    cout << a << "+" << b << "|=";
    for (int i = 0; i < c.size() - 1; ++i) cout << "|";
    cout << endl;
  } else if (u + d - 1 == t + 1 && (u > 1 || d > 1)) {
    if (u > 1) {
      for (int i = 0; i < a.size() - 1; ++i) cout << "|";
      cout << "+" << b << "=" << c << "|" << endl;
    } else {
      cout << a << "+";
      for (int i = 0; i < b.size() - 1; ++i) cout << "|";
      cout << "=" << c << "|" << endl;
    }
  } else
    cout << "Impossible" << endl;
  return 0;
}
