<｜begin▁of▁sentence｜>### Instruction:
Given a graph with vertices {0, 1, 2, 3, 4} and edges [(0,1), (0,2), (1,2), (3,4)], use the `sizes` function to find the sizes of the clusters in the vertex cover generated by the `versatility` method with `minimal_cover` function.
### Response:
import igraph as ig

# Creating a graph with 5 vertices and some edges
g = ig.Graph(edges=[(0,1), (0,2), (1,2), (3,4)])

# Creating a vertex cover using the function to cover all vertices with minimal number of edges
vc = g.versatility(lambda g: g.minimal_cover(), clusters=True)
# Getting the sizes of all clusters in the vertex cover
sizes = vc.sizes()

# Printing the sizes of the clusters
print(sizes)
<|EOT|>
