#include <bits/stdc++.h>
using namespace std;
void _fill_int(int* p, int val, int rep) {
  int i;
  for (i = 0; i < rep; i++) p[i] = val;
}
int GETi() {
  int i;
  scanf("%d", &i);
  return i;
}
template <class T>
T sqr(T val) {
  return val * val;
}
void solve() {
  int f, r, i, j, k, l, x, y, tx, ty, aa[5];
  cin >> x >> y;
  f = abs(x) + abs(y);
  if (x < 0)
    printf("%d 0 0 %d\n", -f, (y < 0) ? -f : f);
  else
    printf("0 %d %d 0\n", (y < 0) ? -f : f, f);
  return;
}
int main(int argc, char** argv) {
  if (argc > 1) freopen(argv[1], "r", stdin);
  solve();
  return 0;
}
