#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  string s;
  getline(cin, s);
  int cnt[3] = {0, 0, 0};
  int hitE = 0;
  for (const char &c : s) {
    if (c == '+') {
      hitE = 1;
    } else if (c == '=') {
      hitE = 2;
    } else {
      cnt[hitE]++;
    }
  }
  if (cnt[0] + cnt[1] == cnt[2]) {
    cout << s;
  } else if (cnt[0] + cnt[1] - cnt[2] == -2) {
    if (cnt[2] > 1) {
      s.insert(s.begin(), '|');
      s.erase(s.begin() + s.size() - 1);
      cout << s;
    } else {
      cout << "Impossible\n";
    }
  } else if (cnt[0] + cnt[1] - cnt[2] == 2) {
    if (cnt[0] > 1) {
      s.erase(s.begin());
      s += '|';
      cout << s;
    } else if (cnt[1] > 1) {
      s.erase(s.begin() + cnt[0] + 2);
      s += '|';
      cout << s;
    } else {
      cout << "Impossible\n";
    }
  } else {
    cout << "Impossible\n";
  }
  return 0;
}
