#include using namespace std; #define rep(i,n) for(int i = 0; i < (n); i++) #define ALL(v) (v).begin(),(v).end() using ll = long long; using P = pair; const int INF = 1e9; const long long LINF = 1e18; const long long MOD = 1e9 + 7; signed main(){ int a, b, x, n; cin >> a >> b >> x >> n; cout << 0 << " " << n / 2 << endl; return 0; }