#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int x, y;
  while (scanf("%I64d %I64d", &x, &y) == 2) {
    if (x > 0 && y > 0) {
      printf("0 %I64d %I64d 0\n", (x + y), (x + y));
    } else if (x > 0 && y < 0) {
      y = y * (-1);
      printf("0 %I64d %I64d 0\n", -(x + y), (x + y));
    } else if (x < 0 && y > 0) {
      x = x * (-1);
      printf("%I64d 0 0 %I64d\n", -(x + y), (x + y));
    } else if (x < 0 && y < 0) {
      x = x * (-1);
      y = y * (-1);
      printf("%I64d 0 0 %I64d\n", -(x + y), -(x + y));
    }
  }
  return (0);
}
