#include <bits/stdc++.h>
using namespace std;
void swap(int *a, int *b) {
  int c = *a;
  *a = *b;
  *b = c;
}
int main() {
  int i, j;
  int a, b, c;
  int A, B, C;
  scanf("%d%d%d", &a, &b, &c);
  bool ans = false;
  for (i = 0; i <= a; i++) {
    A = a - i;
    B = b - i;
    C = c - A;
    A = 0;
    if (B == C && B >= 0 && C >= 0) {
      printf("%d %d %d\n", i, b - i, a - i);
      ans = true;
      break;
    }
  }
  if (!ans) printf("Impossible\n");
  return 0;
}
