#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const long long infLL = 0x3f3f3f3f3f3f3f3fLL;
void solve(string a, string b, string c) {
  if (a.length() + b.length() == c.length()) {
    cout << a + "+" + b + "=" + c << endl;
    return;
  }
  if (a.length() + b.length() + 2 == c.length()) {
    a += "|";
    c = c.substr(0, c.length() - 1);
    cout << a + "+" + b + "=" + c << endl;
    return;
  }
  if (a.length() + b.length() - 2 == c.length()) {
    c += "|";
    if (a.length() > 1)
      a = a.substr(0, a.length() - 1);
    else
      b = b.substr(0, b.length() - 1);
    cout << a + "+" + b + "=" + c << endl;
    return;
  }
  cout << "Impossible" << endl;
}
int main() {
  ios::sync_with_stdio(false);
  char ch;
  string a, b, c;
  while ((ch = getchar()) && ch == '|') a += ch;
  while ((ch = getchar()) && ch == '|') b += ch;
  while ((ch = getchar()) && ch == '|') c += ch;
  solve(a, b, c);
  return 0;
}
