#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if ((a + b + c) % 2 != 0)
    printf("Impossible\n");
  else if (a > b && a > c) {
    int s = (b + c - a) / 2;
    if (s >= 0)
      printf("%d %d %d\n", b - s, s, c - s);
    else
      printf("Impossible\n");
  } else if (b > c) {
    int s = (a + c - b) / 2;
    if (s >= 0)
      printf("%d %d %d\n", a - s, c - s, s);
    else
      printf("Impossible\n");
  } else {
    int s = (a + b - c) / 2;
    if (s >= 0)
      printf("%d %d %d\n", s, b - s, a - s);
    else
      printf("Impossible\n");
  }
}
