#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int flag = 0;
  for (int i = 0; i <= a; i++) {
    int k1 = i;
    int k2 = a - k1;
    int k31 = b - k1;
    int k32 = c - (a - k1);
    if (k1 < 0 || k2 < 0 || k31 < 0 || k32 < 0) continue;
    if (k31 != k32) continue;
    int k3 = k31;
    if (k1 == 0 && k2 == 0 || k2 == 0 && k3 == 0 || k3 == 0 && k1 == 0)
      continue;
    flag = 1;
    cout << k1 << " " << k3 << " " << k2 << endl;
    break;
  }
  if (flag == 0) cout << "Impossible\n";
}
