#include <bits/stdc++.h>
const unsigned int M = 1000000007;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int a, b, c;
  cin >> a >> b >> c;
  int x = max(max(a, b), c);
  if (x == a) {
    if (b + c >= a && (b + c - a) % 2 == 0)
      cout << b - ((b + c - a) / 2) << " " << (b + c - a) / 2 << " "
           << c - ((b + c - a) / 2);
    else
      cout << "Impossible";
  } else if (x == b) {
    if (a + c >= b && (a + c - b) % 2 == 0)
      cout << a - ((a + c - b) / 2) << " " << c - ((a + c - b) / 2) << " "
           << (a + c - b) / 2;
    else
      cout << "Impossible";
  } else {
    if (a + b >= c && (a + b - c) % 2 == 0)
      cout << (a + b - c) / 2 << " " << b - ((a + b - c) / 2) << " "
           << a - (a + b - c) / 2;
    else
      cout << "Impossible";
  }
  return 0;
}
