#include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
  cin >> a >> b;
  int t = abs(a) + abs(b);
  if (a > 0 && b > 0) {
    cout << "0 " << t << " " << t << " 0" << endl;
  } else if (a < 0 && b < 0) {
    cout << -t << " 0 0 " << -t << endl;
  } else if (a > 0 && b < 0) {
    cout << "0 " << -t << " " << t << " 0\n";
  } else
    cout << -t << " 0 0 " << t << endl;
  return 0;
}
