def get_highlighted_subtable(table, cell_indices):
  """Extract out the highlighted part of a table."""
  highlighted_table = []
  for (row_index, col_index) in cell_indices:
    cell = table[row_index][col_index]
    highlighted_table.append(cell)

  return highlighted_table