#include <bits/stdc++.h>
int main() {
  int a, b, c, ab = -1, min;
  scanf("%d %d %d", &a, &b, &c);
  min = b;
  if (a < b) min = a;
  for (int i = 0; i <= min; i++) {
    if (b + a - 2 * i == c) {
      ab = i;
      break;
    }
  }
  if (ab == -1)
    printf("Impossible");
  else
    printf("%d %d %d", ab, b - ab, a - ab);
  return 0;
}
