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