#include <bits/stdc++.h>
using namespace std;
const int inf = (int)(1e18);
const int mod = inf + 7;
const double pi = acos(-1.0);
const double eps = 1e-9;
int sum, k, d = 12, ar[100001], pose, posp, m, l, r, n, p, a, b = -10,
            ans = -1110, res = 0;
string second;
vector<pair<int, int> > v(111111);
int main() {
  v.clear();
  cin >> second;
  n = second.size() - 2;
  for (int i = 0; i < second.size(); i++)
    if (second[i] == '+') {
      posp = i;
    } else if (second[i] == '=') {
      pose = i;
    }
  if (posp < pose) {
    if ((pose - 1) * 2 == n)
      cout << second;
    else if ((pose)*2 == n) {
      second[second.size() - 1] = ' ';
      second = '|' + second;
      cout << second;
    } else if ((pose - 2) * 2 == n) {
      if (posp > 1)
        second.erase(0, 1);
      else
        second.erase(pose - 1, 1);
      second = second + '|';
      cout << second;
    } else
      cout << "Impossible";
  } else
    cout << "Impossible";
}
