#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a;
  cin >> b;
  cin >> c;
  int d = a + b - c;
  int e = b + c - a;
  int f = a + c - b;
  if (d < 0 || e < 0 || f < 0 || e % 2 || d % 2 || f % 2) {
    cout << "Impossible";
    return 0;
  }
  cout << d / 2 << " " << e / 2 << " " << f / 2 << endl;
}
