#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int t = 1;
  while (t--) {
    long long int x, y;
    cin >> x >> y;
    long long int s = abs(x) + abs(y);
    if (x > 0 && y > 0) {
      cout << 0 << " " << s << " " << s << " " << 0 << endl;
    }
    if (x > 0 && y < 0) {
      cout << 0 << " " << -s << " " << s << " " << 0 << endl;
    }
    if (x < 0 && y > 0) {
      cout << -s << " " << 0 << " " << 0 << " " << s << endl;
    }
    if (x < 0 && y < 0) {
      cout << -s << " " << 0 << " " << 0 << " " << -s << endl;
    }
  }
  return 0;
}
