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