fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. int a, b;
  5. cin >> a >> b;
  6. cout << b + b - a << " " << b + (b - a) * 2 << " " << b + (b - a) * 3;
  7. return 0;
  8. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
-839214322 -1678461411 1777258796