#include <bits/stdc++.h>
using namespace std;
long long int a, b, c;
bool valid(long long int num) {
  long long int aa = a - num;
  long long int bb = b - num;
  long long int cc = c;
  if (aa < 0 || bb < 0) return false;
  if (aa + bb != cc) return false;
  if (cc == 0) return false;
  if (num == 0) {
    if (aa == 0 || cc == 0) return false;
  }
  return true;
}
int main() {
  cin >> a >> b >> c;
  for (long long int i = 0; i < ((long long int)(a + 1)); i++) {
    if (valid(i)) {
      cout << i << " " << b - i << " " << a - i << endl;
      return 0;
    }
  }
  puts("Impossible");
  return 0;
}
