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