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