public static void Main()
int maxRows = int.Parse(Console.ReadLine());
int maxCols = int.Parse(Console.ReadLine());
int startRow = int.Parse(Console.ReadLine());
int startCol = int.Parse(Console.ReadLine());
for (int curRow = 1; curRow <= maxRows; curRow++)
curRowMath = curRow + startRow - 1;
for( int curCol = 1; curCol <= maxCols; curCol++)
curColMath = (curCol - 1) + startCol;
sum = curRowMath * curColMath;
Console.Write(" {0}", sum);