#include using namespace std; #include using namespace atcoder; using mint = modint998244353; using ll = long long; int main(){ ll h,w,a,b; cin >> h >> w >> a >> b; mint ans0 = 0; for(ll i = 0;i < h;i++){ ll l = max(0LL,i-a+1); ll r = min(h-a,i); mint ad = mint(r-l+1)/(h-a+1); ad *= ad; ans0 += ad; } mint ans1 = 0; for(ll i = 0;i < w;i++){ ll l = max(0LL,i-b+1); ll r = min(w-b,i); mint ad = mint(r-l+1)/(w-b+1); ad *= ad; ans1 += ad; } mint ans = ans0*ans1; ans = 2*mint(a)*mint(b)-ans; cout << ans.val() << endl; }