#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  cin >> x >> y;
  int sum;
  sum = abs(x) + abs(y);
  if (x > 0 && y > 0)
    cout << "0"
         << " " << sum << " " << sum << " "
         << "0";
  else if (x < 0 && y > 0)
    cout << -(sum) << " "
         << "0"
         << " "
         << "0"
         << " " << sum;
  else if (x > 0 && y < 0)
    cout << "0"
         << " " << -(sum) << " " << sum << " "
         << "0";
  else if (y < 0 && x < 0)
    cout << -sum << " "
         << "0"
         << " "
         << "0"
         << " " << -sum;
}
