#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  int x1, x2, x3;
  bool flg = true;
  cin >> a >> b >> c;
  x1 = (a - c + b);
  if (x1 % 2 || x1 < 0)
    flg = false;
  else {
    x1 /= 2;
    x2 = b - x1;
    x3 = a - x1;
    if (x2 < 0 || x3 < 0) flg = false;
  }
  if (!flg)
    cout << "Impossible" << endl;
  else
    cout << x1 << " " << x2 << " " << x3 << endl;
  return 0;
}
