<｜begin▁of▁sentence｜>### Instruction:
Given the number of vertices as 8, a list of shifts `[1, -2, 2, -1, 2, -2, 1, -1]` describing how edges are added to a cycle to form a 3-regular Hamiltonian graph, and with these shifts to be performed once, can you generate a graph using LCF notation and visualize it with igraph?
### Response:
from igraph import Graph

# Generate a cubic graph using LCF notation
vertex_count = 8
shifts = [1, -2, 2, -1, 2, -2, 1, -1]
repeats = 1

# Create the graph from LCF notation
graph = Graph.LCF(vertex_count, shifts, repeats)

# Print vertex and edge count
print(f'Vertices: {graph.vcount()}')
print(f'Edges: {graph.ecount()}')

# Draw the graph
graph.vs['label'] = range(graph.vcount())
plot = ig.plot(graph)
plot.show()
<|EOT|>
