#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  int xx, yy;
  cin >> x >> y;
  yy = y / abs(y) * (abs(y) + abs(x));
  xx = x / abs(x) * (abs(x) + abs(y));
  if (x < 0)
    printf("%d 0 0 %d\n", xx, yy);
  else
    printf("0 %d %d 0\n", yy, xx);
  return 0;
}
