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