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