#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, x2, x3, n1, n2, n3;
  scanf("%d %d %d", &x1, &x2, &x3);
  n3 = (x1 - x2 + x3) / 2;
  n2 = x3 - n3;
  n1 = x1 - n3;
  if (n1 < 0 || n2 < 0 || n3 < 0 || 2 * (n1 + n2 + n3) != x1 + x2 + x3)
    printf("Impossible\n");
  else
    printf("%d %d %d\n", n1, n2, n3);
  return 0;
}
