#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 10;
int mod = 1e9 + 7;
int a, b, c, d, n, m, x, y, z;
vector<int> v;
int arr[3];
int main() {
  cin >> a >> b >> c;
  for (int i = 0; i <= a; i++) {
    x = c - i;
    y = b - (a - i);
    if (x >= 0 && y >= 0 && x == y) {
      cout << a - i << " " << x << " " << i << endl;
      return 0;
    }
  }
  cout << "Impossible" << endl;
  return 0;
}
