#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<pair<int, char> > v;
  int a, b, c, ab, bc, ca, diff;
  cin >> a >> b >> c;
  v.push_back(make_pair(a, 'a'));
  v.push_back(make_pair(b, 'b'));
  v.push_back(make_pair(c, 'c'));
  sort(v.begin(), v.end());
  diff = (v[1].first + v[0].first) - v[2].first;
  if ((v[2].first > (v[1].first + v[0].first)) || (v[2].first == 0) ||
      (diff % 2 == 1)) {
    cout << "Impossible" << endl;
    return 0;
  }
  if (v[2].second == 'a') {
    if (v[1].second == 'b') {
      ab = v[1].first - diff / 2;
      ca = v[0].first - diff / 2;
      bc = diff / 2;
    } else {
      ab = v[0].first - diff / 2;
      ca = v[1].first - diff / 2;
      bc = diff / 2;
    }
  }
  if (v[2].second == 'b') {
    if (v[1].second == 'c') {
      bc = v[1].first - diff / 2;
      ab = v[0].first - diff / 2;
      ca = diff / 2;
    } else {
      bc = v[0].first - diff / 2;
      ab = v[1].first - diff / 2;
      ca = diff / 2;
    }
  }
  if (v[2].second == 'c') {
    if (v[1].second == 'b') {
      bc = v[1].first - diff / 2;
      ca = v[0].first - diff / 2;
      ab = diff / 2;
    } else {
      bc = v[0].first - diff / 2;
      ca = v[1].first - diff / 2;
      ab = diff / 2;
    }
  }
  cout << ab << " " << bc << " " << ca << endl;
  return 0;
}
