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