#include <bits/stdc++.h>
using namespace std;
long long int tc, cnt = 0, number, many, total = 0;
int rmove[4] = {0, 0, -1, 1};
int cmove[4] = {1, -1, 0, 0};
long long int power(long long int x, long long int y, long long int mod) {
  if (y == 0)
    return 1;
  else if (y % 2 == 0)
    return (power(x, y / 2, mod) % mod * power(x, y / 2, mod) % mod) % mod;
  else
    return x * (power(x, y / 2, mod) % mod * power(x, y / 2, mod) % mod) % mod;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int arr[3], sum = 0, highest = 0;
  for (int i = 0; i < 3; i++) {
    cin >> arr[i];
    sum += arr[i];
    highest = max(highest, arr[i]);
  }
  if (sum % 2 || highest > sum / 2)
    cout << "Impossible";
  else {
    int temp = sum / 2 - highest;
    int answer[3];
    if (arr[0] == highest) {
      answer[0] = arr[1] - temp;
      answer[1] = temp;
      answer[2] = arr[2] - temp;
    } else if (arr[1] == highest) {
      answer[0] = arr[0] - temp;
      answer[1] = arr[2] - temp;
      answer[2] = temp;
    } else if (arr[2] == highest) {
      answer[0] = temp;
      answer[1] = arr[1] - temp;
      answer[2] = arr[0] - temp;
    }
    for (int i = 0; i < 3; i++) cout << answer[i] << " ";
  }
  cerr << "\nTime elapsed: " << 1000 * clock() / CLOCKS_PER_SEC << " ms\n";
  return 0;
}
