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