#include <bits/stdc++.h>
using namespace std;
long long a, b, c;
bool f = 0;
int main() {
  cin >> a >> b >> c;
  for (int i = 0; i <= min(a, c); i++) {
    if ((b - a + i == c - i)) {
      cout << a - i << " " << c - i << " " << i;
      f = 1;
      break;
    }
  }
  if (f == 0) cout << "Impossible";
}
