#include <bits/stdc++.h>
using namespace std;
void striker() {
  int x, y;
  cin >> x >> y;
  int a = abs(x) + abs(y);
  if (x > 0 && y > 0)
    cout << 0 << " " << a << " " << a << " " << 0;
  else if (x > 0 && y < 0)
    cout << 0 << " " << -a << " " << a << " " << 0;
  else if (x < 0 && y > 0)
    cout << -a << " " << 0 << " " << 0 << " " << a;
  else
    cout << -a << " " << 0 << " " << 0 << " " << -a;
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int t = 1;
  for (int i = 0; i < t; i++) {
    striker();
    cout << endl;
  }
  return 0;
}
