#include<iostream>
#include<cstdio>
using namespace std;
int x1[9]={0,-2,-1,1,2,2,1,-1,-2};
int y1[9]={0,1,2,2,1,-1,-2,-2,-1};
long long s[25][25]={0},a[25][25]={0};
int n,m,x,y;
int main()
{
while(scanf("%d%d%d%d",&n,&m,&x,&y)){
memset(a,0,sizeof(a))...