#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int a, b, c, e, f, g, k, h, p, j;
  cin >> a >> b >> c;
  e = max(a, max(b, c));
  f = min(a, min(b, c));
  g = a + b + c - e - f;
  vector<pair<pair<int, int>, int>> v;
  if (f + g >= e) {
    k = (e - f);
    if (k % 2 == g % 2) {
      k = g - k;
      v.push_back({{f, g}, k / 2});
      v.push_back({{g, e}, (e - f) + k / 2});
      v.push_back({{e, f}, f - k / 2});
      v.push_back({{g, f}, k / 2});
      v.push_back({{e, g}, (e - f) + k / 2});
      v.push_back({{f, e}, f - k / 2});
      for (int i = 0; i < 6; i++) {
        if (v[i].first.first == a && v[i].first.second == b) {
          h = v[i].second;
        }
        if (v[i].first.first == b && v[i].first.second == c) {
          p = v[i].second;
        }
        if (v[i].first.first == c && v[i].first.second == a) {
          j = v[i].second;
        }
      }
      cout << h << " " << p << " " << j;
    } else {
      cout << "Impossible";
    }
  } else {
    cout << "Impossible";
  }
}
