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