#include <bits/stdc++.h>
using namespace std;
int main() {
  int first, sec, third;
  int x, y, z, flag = 0;
  scanf("%d %d %d", &first, &sec, &third);
  int val;
  val = first + third - sec;
  if (!(val % 2) && val >= 0) {
    x = val / 2;
  } else
    flag = 1;
  val = third - first + sec;
  if (!(val % 2) && val >= 0) {
    y = val / 2;
  } else
    flag = 1;
  z = sec - y;
  if (z < 0) flag = 1;
  if (x + z == first && z + y == sec && x + y == third && flag != 1)
    cout << z << " " << y << " " << x << endl;
  else
    flag = 1;
  if (flag == 1) cout << "Impossible" << endl;
  return 0;
}
