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