#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  long long int i, l1 = 0, l2 = 0, m1 = 0, j, k;
  cin >> s;
  i = 0;
  while (s[i] != '+') i++;
  l1 = i;
  i++;
  while (s[i] != '=') {
    l2++;
    i++;
  }
  m1 = s.size() - i - 1;
  if (l1 + l2 == m1)
    cout << s;
  else if (abs(l1 + l2 - m1) == 2) {
    if (l1 + l2 > m1 && l1 > 1) {
      for (i = 0; i < l1 - 1; i++) cout << "|";
      cout << "+";
      for (i = 0; i < l2; i++) cout << "|";
      cout << "=";
      for (i = 0; i < m1 + 1; i++) cout << "|";
    } else if (l1 + l2 > m1) {
      for (i = 0; i < l1; i++) cout << "|";
      cout << "+";
      for (i = 0; i < l2 - 1; i++) cout << "|";
      cout << "=";
      for (i = 0; i < m1 + 1; i++) cout << "|";
    } else {
      for (i = 0; i < l1 + 1; i++) cout << "|";
      cout << "+";
      for (i = 0; i < l2; i++) cout << "|";
      cout << "=";
      for (i = 0; i < m1 - 1; i++) cout << "|";
    }
  } else
    cout << "Impossible";
  return 0;
}
