Two snakes, Kiki and Susu, like to play on an n×m rectangular grid. Once the game is under way they ignore the rules and mix themselves up, but the arrangement they start the game from follows these rules.
- Each snake is one rectangle whose shorter side has length 1. Kiki covers k cells and Susu covers s cells.
- Each snake lies either horizontally or vertically.
- Both snakes fit completely inside the grid.
- No cell is covered by both snakes.
In the picture below, the top two arrangements are valid and the bottom two are invalid. The grid is 5×5 and both snakes have length 3.

Which end holds the head is part of the arrangement. An arrangement with the head at (x1,y1) and the tail at (x2,y2) is different from the one with the head at (x2,y2) and the tail at (x1,y1). A snake of length 1 has its head and tail on the same cell, so it has no direction to tell apart and only the cell it sits on distinguishes it. Kiki and Susu are different snakes, so exchanging their two positions also gives a different arrangement.
Given the grid size n, m and the lengths k of Kiki and s of Susu, count the arrangements the game can start from.