#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 1;
const int MXN = 3e5 + 1;
const int MOD = 1e9 + 7;
const long long INF = 1e18;
const double PI = acos(-1.0);
int a, b, c;
int main() {
  cin >> a >> b >> c;
  for (int i = 0; i <= a; i++) {
    if ((a - i) + (b - i) == c && a - i >= 0 && b - i >= 0) {
      cout << i << ' ' << b - i << ' ' << a - i;
      return 0;
    }
  }
  cout << "Impossible";
  return 0;
}
