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