#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  long long a, b, c;
  cin >> a >> b >> c;
  vector<pair<long long, long long>> v;
  long long fs = 0;
  long long st = 0;
  long long ft = 0;
  long long i;
  v.push_back(make_pair(a, (long long)0));
  v.push_back(make_pair(b, (long long)1));
  v.push_back(make_pair(c, (long long)2));
  while (1) {
    sort(v.begin(), v.end());
    if (v[2].first == 0 || v[1].first == 0) {
      break;
    } else {
      v[2].first--;
      v[1].first--;
      if ((v[2].second == 0 && v[1].second == 1) ||
          (v[2].second == 1 && v[1].second == 0)) {
        fs++;
      } else if ((v[2].second == 2 && v[1].second == 1) ||
                 (v[2].second == 1 && v[1].second == 2)) {
        st++;
      } else if ((v[2].second == 0 && v[1].second == 2) ||
                 (v[2].second == 2 && v[1].second == 0)) {
        ft++;
      }
    }
  }
  if (v[0].first != 0 || v[1].first != 0 || v[2].first != 0) {
    cout << "Impossible" << endl;
    return 0;
  }
  cout << fs << " " << st << " " << ft << endl;
  return 0;
}
