#include using namespace std; typedef long long ll; int main(){ ll a,b,x,n; cin>>a>>b>>x>>n; ll tw=0; ll aw=0; ll tb=0; ll ab=0; int temp=x; ll td=0; ll ad=0; for(ll i=0;i