#include <bits/stdc++.h>
using namespace std;
int main() {
  int c, v, r, x = 0, y = 0, z = 0;
  cin >> c >> r >> v;
  while (1) {
    int k = (r == 0) + (v == 0) + (c == 0);
    if (k == 3) {
      cout << z << " " << x << " " << y << endl;
      return 0;
    } else if (k == 2) {
      cout << "Impossible" << endl;
      return 0;
    }
    if (c <= r && c <= v) {
      --r;
      --v;
      ++x;
    } else if (r <= v && r <= c) {
      --v;
      --c;
      ++y;
    } else {
      --r;
      --c;
      ++z;
    }
  }
  return 0;
}
