#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b;
c = b - (a + (-b));
cout << c << " " << c - (a + (-b)) << " " << (c - (a + (-b))) - (a + (-b));
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgYSwgYiwgYzsKICAgIGNpbiA+PiBhID4+IGI7CiAgICBjID0gYiAtIChhICsgKC1iKSk7CiAgICBjb3V0IDw8IGMgPDwgIiAiIDw8IGMgLSAoYSArICgtYikpIDw8ICIgIiA8PCAoYyAtIChhICsgKC1iKSkpIC0gKGEgKyAoLWIpKTsKICAgIHJldHVybiAwOwp9