#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  cin >> x >> y;
  int res = abs(x) + abs(y);
  if (y > 0 && x > 0) {
    cout << "0 " << res << " " << res << " 0";
  } else if (y < 0 && x > 0) {
    cout << "0 " << -res << " " << res << " 0";
  } else if (y > 0 && x < 0) {
    cout << -res << " 0"
         << " 0 " << res;
  } else
    cout << -res << " 0"
         << " 0 " << -res;
  cout << endl;
  return 0;
}
