#include <bits/stdc++.h>
using namespace std;
int x, y, x1, y2;
int main() {
  cin >> x >> y;
  if (x < 0) {
    cout << -(abs(x) + abs(y)) << ' ' << 0 << ' ' << 0 << ' ';
    if (y < 0)
      cout << -(abs(x) + abs(y));
    else
      cout << abs(x) + abs(y);
  } else {
    if (y < 0)
      cout << 0 << ' ' << -(abs(x) + abs(y)) << ' ';
    else
      cout << 0 << ' ' << abs(x) + abs(y) << ' ';
    cout << abs(x) + abs(y) << ' ' << 0;
  }
  return 0;
}
