#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int sum = a + b + c, Max = a;
  Max = max(Max, max(b, c));
  if (Max > (sum - Max)) {
    cout << "Impossible" << endl;
    return 0;
  }
  if (Max == (sum - Max)) {
    if (Max == a) {
      cout << b << " 0 " << c << endl;
    } else if (Max == b) {
      cout << a << " " << c << " 0" << endl;
    } else {
      cout << "0 " << b << " " << a << endl;
    }
    return 0;
  }
  if ((a - b + c) % 2 || (c - a + b) % 2) {
    cout << "Impossible" << endl;
    return 0;
  }
  if (Max == a) {
    if ((a + b - c) % 2 == 1 || (a - b + c) % 2 == 1) {
      cout << "Impossible" << endl;
      return 0;
    }
    cout << (a + b - c) / 2 << " " << b - ((a + b - c) / 2) << " "
         << (a - b + c) / 2 << endl;
  } else if (Max == b) {
    if ((a + b - c) % 2 == 1 || (b - a + c) % 2 == 1) {
      cout << "Impossible" << endl;
      return 0;
    }
    cout << (a + b - c) / 2 << " " << (b - a + c) / 2 << " "
         << a - (a + b - c) / 2 << endl;
  } else {
    if ((a - b + c) % 2 || (c - a + b) % 2) {
      cout << "Impossible" << endl;
      return 0;
    }
    cout << a - (a - b + c) / 2 << " " << (c - a + b) / 2 << " "
         << (a - b + c) / 2 << endl;
  }
  return 0;
}
