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