def vstack(grid: list[list[int]], n: int) -> list[list[int]]:
    """Vertically stack a list of lists."""
    new_grid = []
    for _ in range(n):
        new_grid.extend([[el for el in row] for row in grid])  # 'deepcopy'
    return new_grid