#include <bits/stdc++.h>
using namespace std;
const long double pi = 3.14159265358979323846;
const long long mod = 1e9 + 7;
const long long N = 5e5;
long long a, b, c;
int main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(0);
  cin >> a >> b >> c;
  for (long long i = 0; i <= a; ++i) {
    long long y = a - i;
    long long z = b - i;
    if (y >= 0 && z >= 0 && y + z == c) {
      cout << i << " " << z << " " << y;
      return 0;
    }
  }
  cout << "Impossible";
  return 0;
}
