Types: H: int, W: int, a: List[List[int]]
Ranges: 1 ≤ H, W ≤ 500, 0 ≤ a_{ij} ≤ 9
Addtl Info: None