#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int x, y, a;
  scanf("%lld %lld", &x, &y);
  if (x >= 0 && y >= 0) {
    a = x + y;
    cout << "0"
         << " " << a << " " << a << " "
         << "0" << endl;
  } else if (x < 0 && y > 0) {
    a = (-1) * x + y;
    cout << (-1) * a << " "
         << "0"
         << " "
         << "0"
         << " " << a << endl;
  } else if (x > 0 && y < 0) {
    a = x + (-1) * y;
    cout << "0"
         << " " << (-1) * a << " " << a << " "
         << "0" << endl;
  } else {
    a = (-1) * x + (-1) * y;
    cout << (-1) * a << " "
         << "0"
         << " "
         << "0"
         << " " << (-1) * a << endl;
  }
  return 0;
}
