<｜begin▁of▁sentence｜>### Instruction:
Given a complete graph with 5 vertices, can you use the select function in igraph to find all vertices with a degree greater than 2?
### Response:
import igraph as ig

# Create an example graph
g = ig.Graph.Full(5)

# Select vertices with degree greater than 2
selected_vertices = g.vs.select(_degree_gt=2)

# Print the ids of the selected vertices
print([v.index for v in selected_vertices])
<|EOT|>
