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