<｜begin▁of▁sentence｜>### Instruction:
Given a list of colors ['#FF0000', '#00FF00', '#0000FF', '#FFFF00'], how would you use the PrecalculatedPalette.get_many function from igraph to retrieve the first and third colors in the list?
### Response:
from igraph.drawing.colors import PrecalculatedPalette

# Instantiate a precalculated palette with a predefined list of colors
color_list = ['#FF0000', '#00FF00', '#0000FF', '#FFFF00']
palette = PrecalculatedPalette(color_list)

# Get multiple colors from the palette
selected_colors = palette.get_many([0, 2])

print('Selected Colors:', selected_colors)
<|EOT|>
