#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if ((a + b + c) % 2 != 0) {
    cout << "Impossible";
    return 0;
  } else {
    int z = (b - a + c);
    int x = (a - b + c);
    int y = (a + b - c);
    if ((z % 2 == 0) && (z >= 0) && (x % 2 == 0) && (x >= 0) && (y % 2 == 0) &&
        (y >= 0)) {
      cout << y / 2 << " " << z / 2 << " " << x / 2;
    } else {
      cout << "Impossible";
    }
  }
  return 0;
}
