#include <bits/stdc++.h>
int main() {
  int a, b, c, bond12, bond13, bond23, bond32, i, flag = 0, cnt;
  scanf("%d %d %d", &a, &b, &c);
  for (i = 0; i <= a; i++) {
    bond12 = i;
    bond13 = a - i;
    bond23 = b - bond12;
    bond32 = c - bond13;
    if ((bond23 == bond32) && (bond23 >= 0)) {
      cnt = 0;
      if (bond12) cnt++;
      if (bond23) cnt++;
      if (bond13) cnt++;
      if (cnt > 1) {
        flag = 1;
        break;
      }
    }
  }
  if (flag)
    printf("%d %d %d", bond12, bond23, bond13);
  else
    printf("Impossible");
  return 0;
}
