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