#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; const int mod=998244353; int main(){ unsigned int a,b,x,n; cin>>a>>b>>x>>n; cout<<(x%2==1?n/2:0)<<' '<<(x%2==0?n/2:0)<