#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
int main() {
  int a, b;
  bool ba, bb;
  cin >> a >> b;
  if (a > 0)
    ba = true;
  else
    ba = false;
  if (b > 0)
    bb = true;
  else
    bb = false;
  int ans = abs(a) + abs(b);
  if (ba == true)
    a = ans;
  else
    a = (-ans);
  if (bb == true)
    b = ans;
  else
    b = (-ans);
  if (a < 0)
    cout << a << " " << 0 << " " << 0 << " " << b << endl;
  else
    cout << 0 << " " << b << " " << a << " " << 0 << endl;
  return 0;
}
