#include <bits/stdc++.h>
using namespace std;
void Speed() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  Speed();
  int x, y;
  cin >> x >> y;
  int tot = abs(x) + abs(y);
  if (x > 0 && y > 0) {
    cout << "0 " << tot << " " << tot << " 0" << endl;
  } else if (x < 0 && y > 0) {
    cout << (-1) * tot << " 0 0 " << tot << endl;
  } else if (x < 0 && y < 0) {
    cout << (-1) * tot << " 0 0 " << (-1) * tot << endl;
  } else {
    cout << "0 " << (-1) * tot << " " << tot << " 0" << endl;
  }
  return 0;
}
