#include <bits/stdc++.h>
using namespace std;
template <typename T>
void print(vector<T> v) {
  for (T &i : v) cout << i << " ";
  cout << "\n";
}
template <typename T>
void read(vector<T> &v) {
  for (T &i : v) cin >> i;
}
void solve() {
  int a, b, c;
  cin >> a >> b >> c;
  int one_two = 0, two_three = 0, three_one = 0;
  while ((a && b) || (b && c) || (c && a)) {
    if (a == b && b == c) {
      one_two++;
      a--, b--;
    } else if (a >= b && a >= c) {
      if (b > c) {
        a--, b--;
        one_two++;
      } else {
        a--, c--;
        three_one++;
      }
    } else if (b >= c && b >= a) {
      if (a > c) {
        a--, b--;
        one_two++;
      } else {
        b--, c--;
        two_three++;
      }
    } else {
      if (b > a) {
        c--, b--;
        two_three++;
      } else {
        a--, c--;
        three_one++;
      }
    }
  }
  if (a == 0 && b == 0 && c == 0) {
    cout << one_two << " " << two_three << " " << three_one << "\n";
  } else {
    cout << "Impossible"
         << "\n";
  }
}
int main() {
  ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int tcs = 1;
  while (tcs--) solve();
  return 0;
}
