#include <bits/stdc++.h>
int main() {
  int x, y, z;
  while (scanf("%d%d", &x, &y) == 2) {
    z = abs(x) + abs(y);
    if (x > 0) {
      if (y > 0)
        printf("0 %d %d 0\n", z, z);
      else
        printf("0 -%d %d 0\n", z, z);
    } else {
      if (y > 0)
        printf("-%d 0 0 %d\n", z, z);
      else
        printf("-%d 0 0 -%d\n", z, z);
    }
  }
  return 0;
}
