#include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main(int argc, char* argv[]) {
  cin >> a >> b >> c;
  if ((a + b + c) & 1) {
    cout << "Impossible" << endl;
    return 0;
  }
  int x3 = (b - a + c) / 2;
  int x2 = c - x3;
  int x1 = a - x2;
  if (x1 < 0 || x2 < 0 || x3 < 0) {
    cout << "Impossible" << endl;
    return 0;
  }
  cout << x1 << " " << x3 << " " << x2 << endl;
  return 0;
}
