#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  string s;
  cin >> s;
  int a = 0, b = 0, c = 0;
  size_t p = s.find("+");
  a = s.substr(0, p).length();
  int j = 0;
  for (int i = 0; i < s.length(); i++) {
    if (s[i] == '+') {
      a = i;
      i++;
      while (s[i] != '=') {
        b++;
        i++;
        j = i;
      }
      i++;
      while (i < s.length()) {
        c++;
        i++;
      }
      break;
    }
  }
  if (a + b == c) {
    cout << s << "\n";
  } else if (a + 1 + b == c - 1) {
    for (int i = 0; i < a + 1; i++) {
      cout << "|";
    }
    cout << "+";
    for (int i = 0; i < b; i++) {
      cout << "|";
    }
    cout << "=";
    for (int i = 0; i < c - 1; i++) {
      cout << "|";
    }
  } else if (a - 1 + b == c + 1) {
    if (a == 1) {
      for (int i = 0; i < a; i++) {
        cout << "|";
      }
      cout << "+";
      for (int i = 0; i < b - 1; i++) {
        cout << "|";
      }
      cout << "=";
      for (int i = 0; i < c + 1; i++) {
        cout << "|";
      }
      return 0;
    }
    for (int i = 0; i < a - 1; i++) {
      cout << "|";
    }
    cout << "+";
    for (int i = 0; i < b; i++) {
      cout << "|";
    }
    cout << "=";
    for (int i = 0; i < c + 1; i++) {
      cout << "|";
    }
  } else {
    cout << "Impossible"
         << "\n";
  }
}
