#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios_base::sync_with_stdio(false);
  int a, b, c, x, y, z;
  cin >> a >> b >> c;
  int sum = a + b + c;
  if (sum % 2 != 0) {
    cout << "Impossible";
    return 0;
  }
  int k = sum / 2;
  x = k - c;
  y = k - a;
  z = k - b;
  if (x < 0 || y < 0 || z < 0 || (x == 0 && y == 0) || (y == 0 && z == 0) ||
      (x == 0 && z == 0)) {
    cout << "Impossible";
    return 0;
  }
  cout << x << " " << y << " " << z;
  return 0;
}
