# Matrix Cells In Distance Order

easy

1. You are given four integers row, cols, rCenter, and cCenter. There is a rows x cols matrix and you are on the cell with the coordinates (rCenter, cCenter). 2. Return the coordinates of all cells in the matrix, sorted by their distance from (rCenter, cCenter) from the smallest distance to the largest distance.

## Constraints

1 <= rows, cols <= 100 0 < rCenter < rows 0 < cCenter < cols

## Format

### Input

Input is managed for you

### Output

Output is managed for you

## Example

Sample Input

2 3 1 2

### Sample Output

(1, 2), (0, 2), (1, 1), (0, 1), (1, 0), (0, 0),